Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c145 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_mode_encrypt_contiguous_blocks()
148 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_mode_encrypt_contiguous_blocks()
150 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, in gcm_mode_encrypt_contiguous_blocks()
239 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_encrypt_final()
242 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_encrypt_final()
244 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, in gcm_encrypt_final()
302 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_incomplete_block()
305 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_decrypt_incomplete_block()
319 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, counterp); in gcm_decrypt_incomplete_block()
418 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_final()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h182 #define gcm_cb gcm_common.cc_iv macro