Searched refs:nextblocks (Results 1 – 2 of 2) sorted by relevance
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | ciphercommon.c | 277 size_t nextblocks; in ossl_cipher_generic_block_update() local 360 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update() 363 nextblocks = inl & ~(blksz - 1); in ossl_cipher_generic_block_update() 383 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 384 if (!ctx->enc && ctx->pad && nextblocks == inl) { in ossl_cipher_generic_block_update() 389 nextblocks -= blksz; in ossl_cipher_generic_block_update() 391 outlint += nextblocks; in ossl_cipher_generic_block_update() 397 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 398 if (!ctx->hw->cipher(ctx, out, in, nextblocks)) { in ossl_cipher_generic_block_update() 402 in += nextblocks; in ossl_cipher_generic_block_update() [all …]
|
| H A D | cipher_aes_ocb.c | 163 size_t nextblocks; in aes_ocb_block_update_internal() local 167 nextblocks = ossl_cipher_fillblock(buf, bufsz, AES_BLOCK_SIZE, &in, &inl); in aes_ocb_block_update_internal() 169 nextblocks = inl & ~(AES_BLOCK_SIZE - 1); in aes_ocb_block_update_internal() 185 if (nextblocks > 0) { in aes_ocb_block_update_internal() 186 outlint += nextblocks; in aes_ocb_block_update_internal() 191 if (!ciph(ctx, in, out, nextblocks)) { in aes_ocb_block_update_internal() 195 in += nextblocks; in aes_ocb_block_update_internal() 196 inl -= nextblocks; in aes_ocb_block_update_internal()
|