Fix several typos

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2020-11-10 17:45:56 +01:00
parent a5b894f7e2
commit 77c89f5ad6
3 changed files with 3 additions and 3 deletions

View File

@ -1266,7 +1266,7 @@
* which is currently hard-coded to be int32_t.
*
* Note that this option is meant for internal use only and may be removed
* without notice. It is incompatible with PSA_USE_PSA_CRYPTO.
* without notice. It is incompatible with MBEDTLS_USE_PSA_CRYPTO.
*/
//#define MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER

View File

@ -574,7 +574,7 @@ static psa_status_t run( enum program_mode mode,
exit:
/* Destroy any remaining key. Deinitializing the crypto library would do
* this anyway since they are volatile keys, but explicitly destroying
* keys makes the code easier. */
* keys makes the code easier to reuse. */
(void) psa_destroy_key( derivation_key );
(void) psa_destroy_key( wrapping_key );
/* Deinitialize the PSA crypto library. */

View File

@ -106,7 +106,7 @@ static int invalidate_key( invalidate_method_t invalidate_method,
case INVALIDATE_BY_DESTROYING_WITH_SHUTDOWN:
PSA_ASSERT( psa_destroy_key( key ) );
break;
/* Purging the key just purge RAM data of persitent keys. */
/* Purging the key just purges RAM data of persistent keys. */
case INVALIDATE_BY_PURGING:
case INVALIDATE_BY_PURGING_WITH_SHUTDOWN:
PSA_ASSERT( psa_purge_key( key ) );