Lines Matching refs:AES_BLOCK_SIZE
35 u8 state[AES_BLOCK_SIZE];
37 u8 buffer[AES_BLOCK_SIZE];
76 u8 keys[2][AES_BLOCK_SIZE]; in nx_xcbc_empty()
83 memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); in nx_xcbc_empty()
84 memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty()
120 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty()
127 len = AES_BLOCK_SIZE; in nx_xcbc_empty()
131 if (len != AES_BLOCK_SIZE) in nx_xcbc_empty()
146 memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty()
203 if (total <= AES_BLOCK_SIZE) { in nx_xcbc_update()
215 data_len = AES_BLOCK_SIZE; in nx_xcbc_update()
219 if (data_len != AES_BLOCK_SIZE) { in nx_xcbc_update()
228 to_process = to_process & ~(AES_BLOCK_SIZE - 1); in nx_xcbc_update()
238 to_process -= AES_BLOCK_SIZE; in nx_xcbc_update()
239 leftover = AES_BLOCK_SIZE; in nx_xcbc_update()
273 AES_BLOCK_SIZE); in nx_xcbc_update()
296 } while (leftover > AES_BLOCK_SIZE); in nx_xcbc_update()
323 csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); in nx_xcbc_final()
347 len = AES_BLOCK_SIZE; in nx_xcbc_final()
351 if (len != AES_BLOCK_SIZE) { in nx_xcbc_final()
371 memcpy(out, csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); in nx_xcbc_final()
378 .digestsize = AES_BLOCK_SIZE,
389 .cra_blocksize = AES_BLOCK_SIZE,