mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-12 18:35:38 +00:00
Fix use of mbedtls_cipher_info_from_psa
One branch added an extra argument, the other branch added a call of this function. Pass the extra argument on the code from the other branch.
This commit is contained in:
parent
84861a95ca
commit
bb1072f642
|
@ -1411,7 +1411,7 @@ static psa_status_t psa_cipher_setup( psa_cipher_operation_t *operation,
|
||||||
return( status );
|
return( status );
|
||||||
slot = &global_data.key_slots[key];
|
slot = &global_data.key_slots[key];
|
||||||
|
|
||||||
cipher_info = mbedtls_cipher_info_from_psa( alg, key_type, key_bits );
|
cipher_info = mbedtls_cipher_info_from_psa( alg, key_type, key_bits, NULL );
|
||||||
if( cipher_info == NULL )
|
if( cipher_info == NULL )
|
||||||
return( PSA_ERROR_NOT_SUPPORTED );
|
return( PSA_ERROR_NOT_SUPPORTED );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue