Searched refs:nextblocks (Results 1 – 2 of 2) sorted by relevance
/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon.c | 255 size_t nextblocks; in ossl_cipher_generic_block_update() local 339 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update() 342 nextblocks = inl & ~(blksz-1); in ossl_cipher_generic_block_update() 362 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 363 if (!ctx->enc && ctx->pad && nextblocks == inl) { in ossl_cipher_generic_block_update() 368 nextblocks -= blksz; in ossl_cipher_generic_block_update() 370 outlint += nextblocks; in ossl_cipher_generic_block_update() 376 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 377 if (!ctx->hw->cipher(ctx, out, in, nextblocks)) { in ossl_cipher_generic_block_update() 381 in += nextblocks; in ossl_cipher_generic_block_update() [all …]
|
H 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 6 milliseconds