Skip to content

Commit 1d57a20

Browse files
committed
Make TODO comments consistent
1 parent 849b05a commit 1d57a20

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

library/psa_crypto.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ static psa_status_t psa_remove_key_data_from_memory( psa_key_slot_t *slot )
996996

997997
static void psa_abort_operations_using_key( psa_key_slot_t *slot )
998998
{
999-
/*FIXME how to implement this?*/
999+
/*TODO how to implement this?*/
10001000
(void) slot;
10011001
}
10021002

@@ -1043,7 +1043,7 @@ psa_status_t psa_destroy_key( psa_key_handle_t handle )
10431043
if( status != PSA_SUCCESS )
10441044
{
10451045
(void) psa_crypto_stop_transaction( );
1046-
/* TOnogrepDO: destroy what can be destroyed anyway */
1046+
/* TODO: destroy what can be destroyed anyway */
10471047
return( status );
10481048
}
10491049

@@ -1069,7 +1069,7 @@ psa_status_t psa_destroy_key( psa_key_handle_t handle )
10691069
status = status2;
10701070
if( status != PSA_SUCCESS )
10711071
{
1072-
/* TOnogrepDO: destroy what can be destroyed anyway */
1072+
/* TODO: destroy what can be destroyed anyway */
10731073
return( status );
10741074
}
10751075
}
@@ -1194,7 +1194,7 @@ psa_status_t psa_get_key_attributes( psa_key_handle_t handle,
11941194
case PSA_KEY_TYPE_RSA_KEY_PAIR:
11951195
case PSA_KEY_TYPE_RSA_PUBLIC_KEY:
11961196
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
1197-
/* TOnogrepDO: reporting the public exponent for opaque keys
1197+
/* TODO: reporting the public exponent for opaque keys
11981198
* is not yet implemented. */
11991199
if( psa_get_se_driver( slot->attr.lifetime, NULL, NULL ) )
12001200
break;
@@ -1669,7 +1669,7 @@ static void psa_fail_key_creation( psa_key_slot_t *slot,
16691669
return;
16701670

16711671
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
1672-
/* TOnogrepDO: If the key has already been created in the secure
1672+
/* TODO: If the key has already been created in the secure
16731673
* element, and the failure happened later (when saving metadata
16741674
* to internal storage), we need to destroy the key in the secure
16751675
* element. */
@@ -5894,7 +5894,7 @@ static psa_status_t psa_crypto_recover_transaction(
58945894
{
58955895
case PSA_CRYPTO_TRANSACTION_CREATE_KEY:
58965896
case PSA_CRYPTO_TRANSACTION_DESTROY_KEY:
5897-
/* TOnogrepDO - fall through to the failure case until this
5897+
/* TODO - fall through to the failure case until this
58985898
* is implemented */
58995899
default:
59005900
/* We found an unsupported transaction in the storage.

0 commit comments

Comments
 (0)