Searched refs:ac_block (Results 1 – 1 of 1) sorted by relevance
145 u_int8_t ac_block[AESCTR_BLOCK_LEN]; member718 bcopy(ctx->ac_block, iv, AESCTR_NONCESIZE); in aes_ctr_reinit()761 bcopy(key + len, ctx->ac_block, AESCTR_NONCESIZE); in aes_ctr_setkey()772 bcopy(iv, ctx->ac_block + AESCTR_NONCESIZE, AESCTR_IV_LEN); in aes_gcm_reinit()775 bzero(ctx->ac_block + AESCTR_NONCESIZE + AESCTR_IV_LEN, 4); in aes_gcm_reinit()776 ctx->ac_block[AESCTR_BLOCK_LEN - 1] = 1; /* GCM starts with 1 */ in aes_gcm_reinit()