Lines Matching refs:AES_BLOCK_SIZE
394 aes_encrypt(&aes_ctx, (u8 *)&k, (u8[AES_BLOCK_SIZE]){}); in gcm_aes_setkey()
495 u8 buf[AES_BLOCK_SIZE]; in gcm_encrypt()
516 while (walk.nbytes >= AES_BLOCK_SIZE) { in gcm_encrypt()
517 int nblocks = walk.nbytes / AES_BLOCK_SIZE; in gcm_encrypt()
524 src += nblocks * AES_BLOCK_SIZE; in gcm_encrypt()
525 dst += nblocks * AES_BLOCK_SIZE; in gcm_encrypt()
532 walk.nbytes % AES_BLOCK_SIZE); in gcm_encrypt()
547 tail = walk.nbytes % AES_BLOCK_SIZE; in gcm_encrypt()
586 u8 otag[AES_BLOCK_SIZE]; in gcm_decrypt()
587 u8 buf[AES_BLOCK_SIZE]; in gcm_decrypt()
612 while (walk.nbytes >= AES_BLOCK_SIZE) { in gcm_decrypt()
613 int nblocks = walk.nbytes / AES_BLOCK_SIZE; in gcm_decrypt()
620 src += nblocks * AES_BLOCK_SIZE; in gcm_decrypt()
621 dst += nblocks * AES_BLOCK_SIZE; in gcm_decrypt()
628 walk.nbytes % AES_BLOCK_SIZE); in gcm_decrypt()
642 tail = walk.nbytes % AES_BLOCK_SIZE; in gcm_decrypt()
721 .chunksize = AES_BLOCK_SIZE,
722 .maxauthsize = AES_BLOCK_SIZE,
736 .chunksize = AES_BLOCK_SIZE,
737 .maxauthsize = AES_BLOCK_SIZE,