Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cmac/
Dcmac.c70 unsigned block_used; member
134 out->block_used = in->block_used; in CMAC_CTX_copy()
195 ctx->block_used = 0; in CMAC_Init()
201 ctx->block_used = 0; in CMAC_Reset()
210 if (ctx->block_used > 0) { in CMAC_Update()
211 size_t todo = block_size - ctx->block_used; in CMAC_Update()
216 OPENSSL_memcpy(ctx->block + ctx->block_used, in, todo); in CMAC_Update()
219 ctx->block_used += todo; in CMAC_Update()
230 assert(ctx->block_used == block_size); in CMAC_Update()
247 ctx->block_used = in_len; in CMAC_Update()
[all …]