mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-14 01:25:28 -04:00
Add missing unused arguments
No algorithm defined case generally doesn't use the operation. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
40ef3a9454
commit
bc94978d8c
@ -427,6 +427,7 @@ psa_status_t mbedtls_psa_aead_set_nonce(
|
||||
else
|
||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */
|
||||
{
|
||||
( void ) operation;
|
||||
( void ) nonce;
|
||||
( void ) nonce_length;
|
||||
|
||||
@ -474,6 +475,7 @@ psa_status_t mbedtls_psa_aead_set_lengths(
|
||||
else
|
||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */
|
||||
{
|
||||
( void ) operation;
|
||||
( void ) ad_length;
|
||||
( void ) plaintext_length;
|
||||
|
||||
@ -510,6 +512,7 @@ psa_status_t mbedtls_psa_aead_update_ad(
|
||||
else
|
||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */
|
||||
{
|
||||
( void ) operation;
|
||||
( void ) input;
|
||||
( void ) input_length;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user