Lines Matching refs:output_written
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()
465 return output->advance_write(output_written); in InternalUpdate()