mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 17:05:36 +01:00
Fix several typos
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
a5b894f7e2
commit
77c89f5ad6
@ -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
|
||||
|
||||
|
@ -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. */
|
||||
|
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user