Clean up output from cipher_aead_demo
Used to print "cipher:" when it was the cipher part of a program that
had both cipher and PSA. Now it doesn't really make sense. Align the
output to match the PSA version of this program.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/programs/cipher/cipher_aead_demo.c b/programs/cipher/cipher_aead_demo.c
index c92eab0..366b9a3 100644
--- a/programs/cipher/cipher_aead_demo.c
+++ b/programs/cipher/cipher_aead_demo.c
@@ -177,7 +177,7 @@
: mode == MBEDTLS_MODE_CHACHAPOLY ? "ChachaPoly"
: "???";
- printf( "cipher: %s, %d, %s, %u\n",
+ printf( "%s, %d, %s, %u\n",
ciph, key_bits, mode_str, (unsigned) tag_len );
}
@@ -208,7 +208,7 @@
p += tag_len;
olen = p - out;
- print_buf( "cipher", out, olen );
+ print_buf( "out", out, olen );
exit:
return( ret );