Searched refs:nextblocks (Results 1 – 2 of 2) sorted by relevance
/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon.c | 279 size_t nextblocks; in ossl_cipher_generic_block_update() local 363 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update() 366 nextblocks = inl & ~(blksz-1); in ossl_cipher_generic_block_update() 386 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 387 if (!ctx->enc && ctx->pad && nextblocks == inl) { in ossl_cipher_generic_block_update() 392 nextblocks -= blksz; in ossl_cipher_generic_block_update() 394 outlint += nextblocks; in ossl_cipher_generic_block_update() 400 if (nextblocks > 0) { in ossl_cipher_generic_block_update() 401 if (!ctx->hw->cipher(ctx, out, in, nextblocks)) { in ossl_cipher_generic_block_update() 405 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 11 milliseconds