Searched refs:ccm_cb (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/common/crypto/modes/ |
H A D | ccm.c | 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() [all …]
|
H A D | modes.h | 174 #define ccm_cb ccm_common.cc_iv macro
|