Searched refs:output_written (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | aes_operation.cpp | 227 int output_written = -1; in Finish() local 228 if (!EVP_CipherFinal_ex(&ctx_, output->peek_write(), &output_written)) { in Finish() 235 assert(output_written <= AES_BLOCK_SIZE); in Finish() 236 if (!output->advance_write(output_written)) in Finish() 416 int output_written; in ProcessBufferedAadBlock() local 417 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, aad_block_buf_.get(), in ProcessBufferedAadBlock() 428 int output_written; in ProcessAadBlocks() local 429 if (EVP_CipherUpdate(&ctx_, nullptr /* out */, &output_written, data, blocks * AES_BLOCK_SIZE)) in ProcessAadBlocks() 460 int output_written = -1; in InternalUpdate() local 461 if (!EVP_CipherUpdate(&ctx_, output->peek_write(), &output_written, input, input_length)) { in InternalUpdate() [all …]
|