Lines Matching refs:dlen
179 int CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen) in CMAC_Update() argument
188 if (dlen == 0) in CMAC_Update()
197 if (dlen < nleft) in CMAC_Update()
198 nleft = dlen; in CMAC_Update()
200 dlen -= nleft; in CMAC_Update()
203 if (dlen == 0) in CMAC_Update()
213 cipher_blocks = (dlen - 1) / bl; in CMAC_Update()
219 while (dlen > (size_t)bl) { in CMAC_Update()
222 dlen -= bl; in CMAC_Update()
229 dlen -= max_burst_blocks * bl; in CMAC_Update()
236 dlen -= cipher_blocks * bl; in CMAC_Update()
242 memcpy(ctx->last_block, data, dlen); in CMAC_Update()
243 ctx->nlast_block = dlen; in CMAC_Update()