Lines Matching refs:ccm_cb
77 lastp = (uint8_t *)ctx->ccm_cb; in ccm_mode_encrypt_contiguous_blocks()
109 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, in ccm_mode_encrypt_contiguous_blocks()
118 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask); in ccm_mode_encrypt_contiguous_blocks()
121 ctx->ccm_cb[1] = in ccm_mode_encrypt_contiguous_blocks()
122 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter; in ccm_mode_encrypt_contiguous_blocks()
194 ctx->ccm_cb[1] = (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter; in calculate_ccm_mac()
197 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp); in calculate_ccm_mac()
251 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, lastp); in ccm_encrypt_final()
344 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp); in ccm_decrypt_incomplete_block()
467 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, cbp); in ccm_mode_decrypt_contiguous_blocks()
473 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask); in ccm_mode_decrypt_contiguous_blocks()
476 ctx->ccm_cb[1] = in ccm_mode_decrypt_contiguous_blocks()
477 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter; in ccm_mode_decrypt_contiguous_blocks()
679 cb = (uint8_t *)aes_ctx->ccm_cb; in ccm_format_initial_blocks()