mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 10:15:38 +01:00
Add handling for (sometimes) unused parameters
This commit is contained in:
parent
77b33b2926
commit
5cc689a821
@ -2164,6 +2164,12 @@ psa_status_t psa_asymmetric_encrypt( psa_key_slot_t key,
|
||||
key_slot_t *slot;
|
||||
psa_status_t status;
|
||||
|
||||
(void) input;
|
||||
(void) input_length;
|
||||
(void) salt;
|
||||
(void) output;
|
||||
(void) output_size;
|
||||
|
||||
*output_length = 0;
|
||||
|
||||
if( ! PSA_ALG_IS_RSA_OAEP( alg ) && salt_length != 0 )
|
||||
@ -2238,6 +2244,12 @@ psa_status_t psa_asymmetric_decrypt( psa_key_slot_t key,
|
||||
key_slot_t *slot;
|
||||
psa_status_t status;
|
||||
|
||||
(void) input;
|
||||
(void) input_length;
|
||||
(void) salt;
|
||||
(void) output;
|
||||
(void) output_size;
|
||||
|
||||
*output_length = 0;
|
||||
|
||||
if( ! PSA_ALG_IS_RSA_OAEP( alg ) && salt_length != 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user