aboutsummaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorShaun Case <warmsocks@gmail.com>2021-12-20 21:14:10 -0800
committerDave Rodgman <dave.rodgman@arm.com>2022-05-11 21:25:51 +0100
commit8b0ecbccf465c5c795e6d2898e6af2b9af14b83c (patch)
treeb728fc64e508f4c117b2dc141bd8fd338401669a /tests/src
parent5479f5321aca0b08762074372e22f2c0033d939d (diff)
downloadmbedtls-8b0ecbccf465c5c795e6d2898e6af2b9af14b83c.zip
mbedtls-8b0ecbccf465c5c795e6d2898e6af2b9af14b83c.tar.gz
mbedtls-8b0ecbccf465c5c795e6d2898e6af2b9af14b83c.tar.bz2
Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell.
Signed-off-by: Shaun Case <warmsocks@gmail.com> Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/psa_exercise_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/psa_exercise_key.c b/tests/src/psa_exercise_key.c
index 9576afd..d1650f1 100644
--- a/tests/src/psa_exercise_key.c
+++ b/tests/src/psa_exercise_key.c
@@ -221,7 +221,7 @@ static int exercise_cipher_key( mbedtls_svc_key_id_t key,
sizeof( decrypted ) - part_length,
&part_length );
/* For a stream cipher, all inputs are valid. For a block cipher,
- * if the input is some aribtrary data rather than an actual
+ * if the input is some arbitrary data rather than an actual
ciphertext, a padding error is likely. */
if( maybe_invalid_padding )
TEST_ASSERT( status == PSA_SUCCESS ||
@@ -929,7 +929,7 @@ int mbedtls_test_psa_exercise_key( mbedtls_svc_key_id_t key,
return( 0 );
if( alg == 0 )
- ok = 1; /* If no algorihm, do nothing (used for raw data "keys"). */
+ ok = 1; /* If no algorithm, do nothing (used for raw data "keys"). */
else if( PSA_ALG_IS_MAC( alg ) )
ok = exercise_mac_key( key, usage, alg );
else if( PSA_ALG_IS_CIPHER( alg ) )