mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:14:15 +01:00
Fix derive_input test ignoring parameter
Fix derive_input test hardcoding key type instead of using test argument. Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
bc92abed8c
commit
dc4e4b72c0
@ -4464,7 +4464,7 @@ void derive_input( int alg_arg,
|
||||
if( output_key_type != PSA_KEY_TYPE_NONE )
|
||||
{
|
||||
psa_reset_key_attributes( &attributes );
|
||||
psa_set_key_type( &attributes, PSA_KEY_TYPE_RAW_DATA );
|
||||
psa_set_key_type( &attributes, output_key_type );
|
||||
psa_set_key_bits( &attributes, 8 );
|
||||
actual_output_status =
|
||||
psa_key_derivation_output_key( &attributes, &operation,
|
||||
|
Loading…
Reference in New Issue
Block a user