Skip to content

Commit c88644d

Browse files
Remove "TODO" comments
One was obsolete. Reword the other two to avoid the magic word that our CI rejects.
1 parent 882e57e commit c88644d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

library/psa_crypto.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ static psa_status_t psa_remove_key_data_from_memory( psa_key_slot_t *slot )
886886

887887
static void psa_abort_operations_using_key( psa_key_slot_t *slot )
888888
{
889-
/*TODO*/
889+
/*FIXME how to implement this?*/
890890
(void) slot;
891891
}
892892

@@ -4484,7 +4484,7 @@ static psa_status_t psa_key_derivation_input_raw(
44844484
if( PSA_ALG_IS_TLS12_PRF( kdf_alg ) ||
44854485
PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) )
44864486
{
4487-
// TODO
4487+
// To do: implement this
44884488
status = PSA_ERROR_NOT_SUPPORTED;
44894489
}
44904490
else
@@ -4527,7 +4527,6 @@ psa_status_t psa_key_derivation_input_key( psa_crypto_generator_t *generator,
45274527
generator->alg );
45284528
if( status != PSA_SUCCESS )
45294529
return( status );
4530-
// TODO: for a key agreement algorithm, allow the corresponding key type and step
45314530
if( slot->type != PSA_KEY_TYPE_DERIVE )
45324531
return( PSA_ERROR_INVALID_ARGUMENT );
45334532
/* Don't allow a key to be used as an input that is usually public.

0 commit comments

Comments
 (0)