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.cpp197 int output_written = -1; in Finish() local
198 if (!EVP_CipherFinal_ex(&ctx_, output->peek_write(), &output_written)) { in Finish()
204 assert(output_written >= 0); in Finish()
205 assert(static_cast<size_t>(output_written) <= block_size_bytes()); in Finish()
206 if (!output->advance_write(output_written)) return KM_ERROR_UNKNOWN_ERROR; in Finish()
326 int output_written; in ProcessBufferedAadBlock() local
327 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, aad_block_buf_.get(), in ProcessBufferedAadBlock()
338 int output_written; in ProcessAadBlocks() local
339 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, data, in ProcessAadBlocks()
371 int output_written = -1; in InternalUpdate() local
[all …]