Lines Matching refs:AES_BLOCK_SIZE
23 u8 state[AES_BLOCK_SIZE];
25 u8 buffer[AES_BLOCK_SIZE];
64 u8 keys[2][AES_BLOCK_SIZE]; in nx_xcbc_empty()
71 memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); in nx_xcbc_empty()
72 memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty()
107 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty()
114 len = AES_BLOCK_SIZE; in nx_xcbc_empty()
118 if (len != AES_BLOCK_SIZE) in nx_xcbc_empty()
132 memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty()
189 if (total <= AES_BLOCK_SIZE) { in nx_xcbc_update()
201 data_len = AES_BLOCK_SIZE; in nx_xcbc_update()
205 if (data_len != AES_BLOCK_SIZE) { in nx_xcbc_update()
214 to_process = to_process & ~(AES_BLOCK_SIZE - 1); in nx_xcbc_update()
224 to_process -= AES_BLOCK_SIZE; in nx_xcbc_update()
225 leftover = AES_BLOCK_SIZE; in nx_xcbc_update()
259 AES_BLOCK_SIZE); in nx_xcbc_update()
281 } while (leftover > AES_BLOCK_SIZE); in nx_xcbc_update()
308 csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); in nx_xcbc_final()
332 len = AES_BLOCK_SIZE; in nx_xcbc_final()
336 if (len != AES_BLOCK_SIZE) { in nx_xcbc_final()
355 memcpy(out, csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); in nx_xcbc_final()
362 .digestsize = AES_BLOCK_SIZE,
373 .cra_blocksize = AES_BLOCK_SIZE,