Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp198 int output_written = -1; in Finish() local
199 if (!EVP_CipherFinal_ex(&ctx_, output->peek_write(), &output_written)) { in Finish()
207 assert(output_written >= 0); in Finish()
208 assert(static_cast<size_t>(output_written) <= block_size_bytes()); in Finish()
209 if (!output->advance_write(output_written)) return KM_ERROR_UNKNOWN_ERROR; in Finish()
329 int output_written; in ProcessBufferedAadBlock() local
330 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, aad_block_buf_.get(), in ProcessBufferedAadBlock()
341 int output_written; in ProcessAadBlocks() local
342 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, data, in ProcessAadBlocks()
374 int output_written = -1; in InternalUpdate() local
[all …]