mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-05-30 04:04:51 +03:00
Merge pull request #6880 from mpg/fix-derive-key-exercise-2.28
[Backport 2.28] Fix test function derive_key_exercise()
This commit is contained in:
commit
ec14c7c268
@ -4866,7 +4866,7 @@ void derive_key_exercise( int alg_arg,
|
|||||||
&base_key ) );
|
&base_key ) );
|
||||||
|
|
||||||
/* Derive a key. */
|
/* Derive a key. */
|
||||||
if ( mbedtls_test_psa_setup_key_derivation_wrap( &operation, base_key, alg,
|
if ( !mbedtls_test_psa_setup_key_derivation_wrap( &operation, base_key, alg,
|
||||||
input1->x, input1->len,
|
input1->x, input1->len,
|
||||||
input2->x, input2->len,
|
input2->x, input2->len,
|
||||||
capacity ) )
|
capacity ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user