Searched refs:ac_block (Results 1 – 2 of 2) sorted by relevance
122 bcopy(iv, ctx->ac_block, AESICM_BLOCKSIZE); in aes_icm_reinit()134 bzero(&ctx->ac_block[AESICM_BLOCKSIZE - 4], 4); in aes_gcm_reinit()135 ctx->ac_block[AESICM_BLOCKSIZE - 1] = 2; in aes_gcm_reinit()146 bzero(ctx->ac_block, sizeof(ctx->ac_block)); in aes_ccm_reinit()148 ctx->ac_block[0] = (15 - AES_CCM_IV_LEN) - 1; in aes_ccm_reinit()149 bcopy(iv, ctx->ac_block+1, AES_CCM_IV_LEN); in aes_ccm_reinit()150 ctx->ac_block[AESICM_BLOCKSIZE - 1] = 1; in aes_ccm_reinit()165 if (++ctx->ac_block[i]) /* continue on overflow */ in aes_icm_crypt()177 rijndaelEncrypt(ctx->ac_ek, ctx->ac_nr, ctx->ac_block, keystream); in aes_icm_crypt_last()
89 uint8_t ac_block[AESICM_BLOCKSIZE]; member