Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c111 if (length + ctx->gcm_remainder_len < block_size) { in gcm_mode_encrypt_contiguous_blocks()
113 memcpy((uint8_t *)ctx->gcm_remainder + ctx->gcm_remainder_len, in gcm_mode_encrypt_contiguous_blocks()
116 ctx->gcm_remainder_len += length; in gcm_mode_encrypt_contiguous_blocks()
128 if (ctx->gcm_remainder_len > 0) { in gcm_mode_encrypt_contiguous_blocks()
129 need = block_size - ctx->gcm_remainder_len; in gcm_mode_encrypt_contiguous_blocks()
135 [ctx->gcm_remainder_len], datap, need); in gcm_mode_encrypt_contiguous_blocks()
180 if (ctx->gcm_remainder_len != 0) { in gcm_mode_encrypt_contiguous_blocks()
182 ctx->gcm_remainder_len = 0; in gcm_mode_encrypt_contiguous_blocks()
192 ctx->gcm_remainder_len = remainder; in gcm_mode_encrypt_contiguous_blocks()
221 (ctx->gcm_remainder_len + ctx->gcm_tag_len)) { in gcm_encrypt_final()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h185 #define gcm_remainder_len gcm_common.cc_remainder_len macro