Home
last modified time | relevance | path

Searched refs:AESICM_BLOCKSIZE (Results 1 – 2 of 2) sorted by relevance

/freebsd-head/sys/opencrypto/
HDxform_aes_icm.c166 bzero(&ctx->cipher.ac_block[AESICM_BLOCKSIZE - 4], 4); in aes_gcm_reinit()
167 ctx->cipher.ac_block[AESICM_BLOCKSIZE - 1] = 2; in aes_gcm_reinit()
184 ctx->cipher.ac_block[AESICM_BLOCKSIZE - 1] = 1; in aes_ccm_reinit()
196 aes_icm_crypt_last(key, in, out, AESICM_BLOCKSIZE); in aes_icm_crypt()
199 for (i = AESICM_BLOCKSIZE - 1; in aes_icm_crypt()
209 uint8_t keystream[AESICM_BLOCKSIZE]; in aes_icm_crypt_multi()
212 KASSERT(len % AESICM_BLOCKSIZE == 0, ("%s: invalid length", __func__)); in aes_icm_crypt_multi()
215 for (i = 0; i < AESICM_BLOCKSIZE; i++) in aes_icm_crypt_multi()
219 for (i = AESICM_BLOCKSIZE - 1; i >= 0; i--) in aes_icm_crypt_multi()
223 out += AESICM_BLOCKSIZE; in aes_icm_crypt_multi()
[all …]
HDxform_enc.h42 #define AESICM_BLOCKSIZE AES_BLOCK_LEN macro
109 uint8_t ac_block[AESICM_BLOCKSIZE];