Searched refs:nextblocks (Results 1 – 2 of 2) sorted by relevance
/openssl-master/providers/implementations/ciphers/ |
A D | ciphercommon.c | 250 size_t nextblocks; in ossl_cipher_generic_block_update() local 329 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update() 332 nextblocks = inl & ~(blksz-1); in ossl_cipher_generic_block_update() 352 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 353 if (!ctx->enc && ctx->pad && nextblocks == inl) { in ossl_cipher_generic_block_update() 358 nextblocks -= blksz; in ossl_cipher_generic_block_update() 360 outlint += nextblocks; in ossl_cipher_generic_block_update() 366 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 367 if (!ctx->hw->cipher(ctx, out, in, nextblocks)) { in ossl_cipher_generic_block_update() 371 in += nextblocks; in ossl_cipher_generic_block_update() [all …]
|
A D | cipher_aes_ocb.c | 165 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 5 milliseconds