Lines Matching refs:block_used
70 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()
263 if (ctx->block_used != block_size) { in CMAC_Final()
266 ctx->block[ctx->block_used] = 0x80; in CMAC_Final()
267 OPENSSL_memset(ctx->block + ctx->block_used + 1, 0, in CMAC_Final()
268 block_size - (ctx->block_used + 1)); in CMAC_Final()