Lines Matching defs:output
43 "\n crypt_and_hash <mode> <input filename> <output filename> <cipher> <mbedtls_md> <key>\n" \
72 unsigned char output[1024];
133 mbedtls_fprintf(stderr, "input and output filenames must differ\n");
268 * Append the IV at the beginning of the output.
339 if (mbedtls_cipher_update(&cipher_ctx, buffer, ilen, output, &olen) != 0) {
344 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) {
349 if (fwrite(output, 1, olen, fout) != olen) {
355 if (mbedtls_cipher_finish(&cipher_ctx, output, &olen) != 0) {
359 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) {
364 if (fwrite(output, 1, olen, fout) != olen) {
498 if (mbedtls_cipher_update(&cipher_ctx, buffer, ilen, output,
504 if (fwrite(output, 1, olen, fout) != olen) {
538 if (mbedtls_cipher_finish(&cipher_ctx, output, &olen) != 0) {
543 if (fwrite(output, 1, olen, fout) != olen) {
569 mbedtls_platform_zeroize(output, sizeof(output));