Fix some mistakes in descriptive messages

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-04-26 22:43:05 +02:00
parent 198d87ad52
commit 086f85f055

View file

@ -19,8 +19,8 @@
msg <<'EOF' msg <<'EOF'
This script demonstrates the use of the PSA cryptography interface to This script demonstrates the use of the PSA cryptography interface to
create a master key, derive a key from it and use that key to wrap create a master key, derive a key from it and use that derived key to
the derived key using an AEAD algorithm. wrap some data using an AEAD algorithm.
EOF EOF
depends_on MBEDTLS_SHA256_C MBEDTLS_MD_C MBEDTLS_AES_C MBEDTLS_CCM_C MBEDTLS_PSA_CRYPTO_C MBEDTLS_FS_IO depends_on MBEDTLS_SHA256_C MBEDTLS_MD_C MBEDTLS_AES_C MBEDTLS_CCM_C MBEDTLS_PSA_CRYPTO_C MBEDTLS_FS_IO
@ -49,7 +49,7 @@ run "Compare the unwrapped data with the original input." \
cmp input.txt hello_world.txt cmp input.txt hello_world.txt
files_to_clean="$files_to_clean hellow_orld.txt" files_to_clean="$files_to_clean hellow_orld.txt"
run_bad "Derive a different key and attempt to unwrap the data. This must fail." \ run_bad "Derive a different key and attempt to unwrap the data." \
"$program" unwrap master=master.key input=hello_world.wrap output=hellow_orld.txt label=hellow label=orld "$program" unwrap master=master.key input=hello_world.wrap output=hellow_orld.txt label=hellow label=orld
files_to_clean="$files_to_clean hello.key" files_to_clean="$files_to_clean hello.key"