Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/modes/
H A Dcbc.c59 if (length + ctx->cbc_remainder_len < block_size) { in cbc_encrypt_contiguous_blocks()
62 (uint8_t *)ctx->cbc_remainder + ctx->cbc_remainder_len, in cbc_encrypt_contiguous_blocks()
64 ctx->cbc_remainder_len += length; in cbc_encrypt_contiguous_blocks()
75 if (ctx->cbc_remainder_len > 0) { in cbc_encrypt_contiguous_blocks()
76 need = block_size - ctx->cbc_remainder_len; in cbc_encrypt_contiguous_blocks()
82 [ctx->cbc_remainder_len], need); in cbc_encrypt_contiguous_blocks()
100 if (ctx->cbc_remainder_len > 0) { in cbc_encrypt_contiguous_blocks()
102 ctx->cbc_remainder_len); in cbc_encrypt_contiguous_blocks()
103 bcopy(blockp + ctx->cbc_remainder_len, datap, in cbc_encrypt_contiguous_blocks()
132 if (ctx->cbc_remainder_len != 0) { in cbc_encrypt_contiguous_blocks()
[all …]
H A Dmodes.h112 #define cbc_remainder_len cbc_common.cc_remainder_len macro