Lines Matching refs:AES_BLOCK_LEN
160 #define AES_BLOCK_LEN 16 macro
192 UINT8 in_buf[AES_BLOCK_LEN] = {0}; in kdf()
193 UINT8 out_buf[AES_BLOCK_LEN]; in kdf()
198 in_buf[AES_BLOCK_LEN-9] = ndx; in kdf()
199 in_buf[AES_BLOCK_LEN-1] = i = 1; in kdf()
201 while (nbytes >= AES_BLOCK_LEN) { in kdf()
203 memcpy(dst_buf,out_buf,AES_BLOCK_LEN); in kdf()
204 in_buf[AES_BLOCK_LEN-1] = ++i; in kdf()
205 nbytes -= AES_BLOCK_LEN; in kdf()
206 dst_buf += AES_BLOCK_LEN; in kdf()
221 UINT8 cache[AES_BLOCK_LEN]; /* Previous AES output is saved */
222 UINT8 nonce[AES_BLOCK_LEN]; /* The AES input making above cache */