Home
last modified time | relevance | path

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

/openssl/providers/implementations/ciphers/
H A Dciphercommon.c254 size_t nextblocks; in ossl_cipher_generic_block_update() local
338 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update()
341 nextblocks = inl & ~(blksz-1); in ossl_cipher_generic_block_update()
361 if (nextblocks > 0) { in ossl_cipher_generic_block_update()
362 if (!ctx->enc && ctx->pad && nextblocks == inl) { in ossl_cipher_generic_block_update()
367 nextblocks -= blksz; in ossl_cipher_generic_block_update()
369 outlint += nextblocks; in ossl_cipher_generic_block_update()
375 if (nextblocks > 0) { in ossl_cipher_generic_block_update()
376 if (!ctx->hw->cipher(ctx, out, in, nextblocks)) { in ossl_cipher_generic_block_update()
380 in += nextblocks; in ossl_cipher_generic_block_update()
[all …]
H A Dcipher_aes_ocb.c165 size_t nextblocks; in aes_ocb_block_update_internal() local
169 nextblocks = ossl_cipher_fillblock(buf, bufsz, AES_BLOCK_SIZE, &in, &inl); in aes_ocb_block_update_internal()
171 nextblocks = inl & ~(AES_BLOCK_SIZE-1); in aes_ocb_block_update_internal()
187 if (nextblocks > 0) { in aes_ocb_block_update_internal()
188 outlint += nextblocks; in aes_ocb_block_update_internal()
193 if (!ciph(ctx, in, out, nextblocks)) { in aes_ocb_block_update_internal()
197 in += nextblocks; in aes_ocb_block_update_internal()
198 inl -= nextblocks; in aes_ocb_block_update_internal()

Completed in 13 milliseconds