Searched refs:ac_block (Results 1 – 2 of 2) sorted by relevance
104 bcopy(iv, ctx->ac_block, AESICM_BLOCKSIZE); in aes_icm_reinit()116 bzero(&ctx->ac_block[AESICM_BLOCKSIZE - 4], 4); in aes_gcm_reinit()117 ctx->ac_block[AESICM_BLOCKSIZE - 1] = 2; in aes_gcm_reinit()128 bzero(ctx->ac_block, sizeof(ctx->ac_block)); in aes_ccm_reinit()130 ctx->ac_block[0] = (15 - AES_CCM_IV_LEN) - 1; in aes_ccm_reinit()131 bcopy(iv, ctx->ac_block+1, AES_CCM_IV_LEN); in aes_ccm_reinit()132 ctx->ac_block[AESICM_BLOCKSIZE - 1] = 1; in aes_ccm_reinit()143 rijndaelEncrypt(ctx->ac_ek, ctx->ac_nr, ctx->ac_block, keystream); in aes_icm_crypt()151 if (++ctx->ac_block[i]) /* continue on overflow */ in aes_icm_crypt()
92 u_int8_t ac_block[AESICM_BLOCKSIZE]; member