Home
last modified time | relevance | path

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

/src/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c149 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_mode_encrypt_contiguous_blocks()
152 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_mode_encrypt_contiguous_blocks()
154 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, in gcm_mode_encrypt_contiguous_blocks()
243 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_encrypt_final()
246 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_encrypt_final()
248 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, in gcm_encrypt_final()
306 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_incomplete_block()
309 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_decrypt_incomplete_block()
323 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, counterp); in gcm_decrypt_incomplete_block()
422 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_final()
[all …]
/src/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h192 #define gcm_cb gcm_common.cc_iv macro