Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/modes/
H A Dccm.c118 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask); in ccm_mode_encrypt_contiguous_blocks()
120 counter &= ctx->ccm_counter_mask; 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()
473 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask); in ccm_mode_decrypt_contiguous_blocks()
475 counter &= ctx->ccm_counter_mask; in ccm_mode_decrypt_contiguous_blocks()
477 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter; in ccm_mode_decrypt_contiguous_blocks()
694 aes_ctx->ccm_counter_mask = htonll(mask); in ccm_format_initial_blocks()
H A Dmodes.h169 uint64_t ccm_counter_mask; member