Fix spacing and formatting

Signed-off-by: Aditya Deshpande <aditya.deshpande@arm.com>
This commit is contained in:
Aditya Deshpande 2022-10-17 13:53:35 +01:00
parent 40c05cc8e4
commit cfb441d5ee
2 changed files with 12 additions and 14 deletions

View file

@ -360,8 +360,7 @@ psa_status_t psa_driver_wrapper_asymmetric_decrypt(
/*
* Raw Key Agreement
*/
psa_status_t psa_driver_wrapper_key_agreement(
psa_status_t psa_driver_wrapper_key_agreement(
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
size_t key_buffer_size,
@ -370,8 +369,7 @@ psa_status_t psa_driver_wrapper_asymmetric_decrypt(
size_t peer_key_length,
uint8_t *shared_secret,
size_t shared_secret_size,
size_t *shared_secret_length
);
size_t *shared_secret_length );
#endif /* PSA_CRYPTO_DRIVER_WRAPPERS_H */

View file

@ -56,16 +56,16 @@ psa_status_t mbedtls_test_transparent_key_agreement(
size_t shared_secret_size,
size_t *shared_secret_length );
psa_status_t mbedtls_test_opaque_key_agreement(
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
size_t key_buffer_size,
psa_algorithm_t alg,
const uint8_t *peer_key,
size_t peer_key_length,
uint8_t *shared_secret,
size_t shared_secret_size,
size_t *shared_secret_length );
// psa_status_t mbedtls_test_opaque_key_agreement(
// const psa_key_attributes_t *attributes,
// const uint8_t *key_buffer,
// size_t key_buffer_size,
// psa_algorithm_t alg,
// const uint8_t *peer_key,
// size_t peer_key_length,
// uint8_t *shared_secret,
// size_t shared_secret_size,
// size_t *shared_secret_length );
#endif /*PSA_CRYPTO_DRIVER_TEST */
#endif /* PSA_CRYPTO_TEST_DRIVERS_KEY_AGREEMENT_H */