diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c index c7f7352fb..03327f245 100644 --- a/library/psa_crypto_aead.c +++ b/library/psa_crypto_aead.c @@ -432,7 +432,9 @@ psa_status_t mbedtls_psa_aead_set_nonce( else #endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */ { + ( void ) operation; ( void ) nonce; + ( void ) nonce_length; return ( PSA_ERROR_NOT_SUPPORTED ); } @@ -533,8 +535,10 @@ psa_status_t mbedtls_psa_aead_update( else #endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */ { + ( void ) operation; ( void ) input; - ( void ) input_length; + ( void ) output; + ( void ) output_size; return ( PSA_ERROR_NOT_SUPPORTED ); } diff --git a/library/psa_crypto_driver_wrappers.c b/library/psa_crypto_driver_wrappers.c index cfc77fbb5..992b7a72b 100644 --- a/library/psa_crypto_driver_wrappers.c +++ b/library/psa_crypto_driver_wrappers.c @@ -1130,6 +1130,7 @@ psa_status_t psa_driver_wrapper_cipher_decrypt_setup( default: /* Key is declared with a lifetime not known to us */ (void)status; + (void)operation; (void)key_buffer; (void)key_buffer_size; (void)alg;