From c88644dd2485f815118444926079fa201b84e2eb Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 12 Apr 2019 15:03:38 +0200 Subject: [PATCH] Remove "TODO" comments One was obsolete. Reword the other two to avoid the magic word that our CI rejects. --- library/psa_crypto.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 6660efe882..8e040514de 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -886,7 +886,7 @@ static psa_status_t psa_remove_key_data_from_memory( psa_key_slot_t *slot ) static void psa_abort_operations_using_key( psa_key_slot_t *slot ) { - /*TODO*/ + /*FIXME how to implement this?*/ (void) slot; } @@ -4484,7 +4484,7 @@ static psa_status_t psa_key_derivation_input_raw( if( PSA_ALG_IS_TLS12_PRF( kdf_alg ) || PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) ) { - // TODO + // To do: implement this status = PSA_ERROR_NOT_SUPPORTED; } else @@ -4527,7 +4527,6 @@ psa_status_t psa_key_derivation_input_key( psa_crypto_generator_t *generator, generator->alg ); if( status != PSA_SUCCESS ) return( status ); - // TODO: for a key agreement algorithm, allow the corresponding key type and step if( slot->type != PSA_KEY_TYPE_DERIVE ) return( PSA_ERROR_INVALID_ARGUMENT ); /* Don't allow a key to be used as an input that is usually public.