Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/crypto/modes/
H A Dctr.c70 lastp = (uint8_t *)ctx->ctr_cb; in ctr_mode_contiguous_blocks()
91 cipher(ctx->ctr_keysched, (uint8_t *)ctx->ctr_cb, in ctr_mode_contiguous_blocks()
99 lower_counter = ntohll(ctx->ctr_cb[1] & ctx->ctr_lower_mask); in ctr_mode_contiguous_blocks()
102 ctx->ctr_cb[1] = (ctx->ctr_cb[1] & ~(ctx->ctr_lower_mask)) | in ctr_mode_contiguous_blocks()
108 ntohll(ctx->ctr_cb[0] & ctx->ctr_upper_mask); in ctr_mode_contiguous_blocks()
111 ctx->ctr_cb[0] = in ctr_mode_contiguous_blocks()
112 (ctx->ctr_cb[0] & ~(ctx->ctr_upper_mask)) | in ctr_mode_contiguous_blocks()
183 encrypt_block(ctx->ctr_keysched, (uint8_t *)ctx->ctr_cb, in ctr_mode_final()
228 copy_block(cb, (uchar_t *)ctr_ctx->ctr_cb); in ctr_init_ctx()
229 ctr_ctx->ctr_lastp = (uint8_t *)&ctr_ctx->ctr_cb[0]; in ctr_init_ctx()
H A Dmodes.h133 #define ctr_cb ctr_common.cc_iv macro