Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/modes/
H A Dgcm.c150 if (length + ctx->gcm_remainder_len < block_size) { in gcm_mode_encrypt_contiguous_blocks()
153 (uint8_t *)ctx->gcm_remainder + ctx->gcm_remainder_len, in gcm_mode_encrypt_contiguous_blocks()
155 ctx->gcm_remainder_len += length; in gcm_mode_encrypt_contiguous_blocks()
166 if (ctx->gcm_remainder_len > 0) { in gcm_mode_encrypt_contiguous_blocks()
167 need = block_size - ctx->gcm_remainder_len; in gcm_mode_encrypt_contiguous_blocks()
173 [ctx->gcm_remainder_len], need); in gcm_mode_encrypt_contiguous_blocks()
198 if (ctx->gcm_remainder_len > 0) { in gcm_mode_encrypt_contiguous_blocks()
200 ctx->gcm_remainder_len); in gcm_mode_encrypt_contiguous_blocks()
201 bcopy(blockp + ctx->gcm_remainder_len, datap, in gcm_mode_encrypt_contiguous_blocks()
227 if (ctx->gcm_remainder_len != 0) { in gcm_mode_encrypt_contiguous_blocks()
[all …]
H A Dmodes.h224 #define gcm_remainder_len gcm_common.cc_remainder_len macro