Home
last modified time | relevance | path

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

/openssl/crypto/cmac/
H A Dcmac.c183 size_t max_burst_blocks, cipher_blocks; in CMAC_Update() local
213 cipher_blocks = (dlen - 1) / bl; in CMAC_Update()
226 while (cipher_blocks > max_burst_blocks) { in CMAC_Update()
231 cipher_blocks -= max_burst_blocks; in CMAC_Update()
233 if (cipher_blocks > 0) { in CMAC_Update()
234 if (EVP_Cipher(ctx->cctx, buf, data, cipher_blocks * bl) <= 0) in CMAC_Update()
236 dlen -= cipher_blocks * bl; in CMAC_Update()
237 data += cipher_blocks * bl; in CMAC_Update()
238 memcpy(ctx->tbl, &buf[(cipher_blocks - 1) * bl], bl); in CMAC_Update()

Completed in 4 milliseconds