Lines Matching refs:AES_BLOCK_SIZE
244 aes_encrypt(&ctx->aes_key, key, (u8[AES_BLOCK_SIZE]){}); in gcm_aes_setkey()
341 u8 buf[AES_BLOCK_SIZE]; in gcm_encrypt()
364 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) { in gcm_encrypt()
368 nbytes &= ~(AES_BLOCK_SIZE - 1); in gcm_encrypt()
381 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) in gcm_encrypt()
405 u8 otag[AES_BLOCK_SIZE]; in gcm_decrypt()
406 u8 buf[AES_BLOCK_SIZE]; in gcm_decrypt()
434 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) { in gcm_decrypt()
438 nbytes &= ~(AES_BLOCK_SIZE - 1); in gcm_decrypt()
451 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) in gcm_decrypt()
466 u8 iv[AES_BLOCK_SIZE]; in gcm_aes_encrypt()
474 u8 iv[AES_BLOCK_SIZE]; in gcm_aes_decrypt()
504 u8 iv[AES_BLOCK_SIZE]; in rfc4106_encrypt()
517 u8 iv[AES_BLOCK_SIZE]; in rfc4106_decrypt()
528 .chunksize = AES_BLOCK_SIZE,
529 .maxauthsize = AES_BLOCK_SIZE,
544 .chunksize = AES_BLOCK_SIZE,
545 .maxauthsize = AES_BLOCK_SIZE,