mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 03:35:35 +00:00
tests: psa: aead: Fix operation type in entry point prototypes
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
74217ee03c
commit
9a37ff6364
@ -75,34 +75,34 @@ psa_status_t mbedtls_test_transparent_aead_decrypt(
|
|||||||
uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
|
uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_encrypt_setup(
|
psa_status_t mbedtls_test_transparent_aead_encrypt_setup(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
const psa_key_attributes_t *attributes,
|
const psa_key_attributes_t *attributes,
|
||||||
const uint8_t *key_buffer, size_t key_buffer_size,
|
const uint8_t *key_buffer, size_t key_buffer_size,
|
||||||
psa_algorithm_t alg );
|
psa_algorithm_t alg );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_decrypt_setup(
|
psa_status_t mbedtls_test_transparent_aead_decrypt_setup(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
const psa_key_attributes_t *attributes,
|
const psa_key_attributes_t *attributes,
|
||||||
const uint8_t *key_buffer, size_t key_buffer_size,
|
const uint8_t *key_buffer, size_t key_buffer_size,
|
||||||
psa_algorithm_t alg );
|
psa_algorithm_t alg );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_set_nonce(
|
psa_status_t mbedtls_test_transparent_aead_set_nonce(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
const uint8_t *nonce,
|
const uint8_t *nonce,
|
||||||
size_t nonce_length );
|
size_t nonce_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_set_lengths(
|
psa_status_t mbedtls_test_transparent_aead_set_lengths(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
size_t ad_length,
|
size_t ad_length,
|
||||||
size_t plaintext_length );
|
size_t plaintext_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_update_ad(
|
psa_status_t mbedtls_test_transparent_aead_update_ad(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
const uint8_t *input,
|
const uint8_t *input,
|
||||||
size_t input_length );
|
size_t input_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_update(
|
psa_status_t mbedtls_test_transparent_aead_update(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
const uint8_t *input,
|
const uint8_t *input,
|
||||||
size_t input_length,
|
size_t input_length,
|
||||||
uint8_t *output,
|
uint8_t *output,
|
||||||
@ -110,7 +110,7 @@ psa_status_t mbedtls_test_transparent_aead_update(
|
|||||||
size_t *output_length );
|
size_t *output_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_finish(
|
psa_status_t mbedtls_test_transparent_aead_finish(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
uint8_t *ciphertext,
|
uint8_t *ciphertext,
|
||||||
size_t ciphertext_size,
|
size_t ciphertext_size,
|
||||||
size_t *ciphertext_length,
|
size_t *ciphertext_length,
|
||||||
@ -119,7 +119,7 @@ psa_status_t mbedtls_test_transparent_aead_finish(
|
|||||||
size_t *tag_length );
|
size_t *tag_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_verify(
|
psa_status_t mbedtls_test_transparent_aead_verify(
|
||||||
mbedtls_psa_aead_operation_t *operation,
|
mbedtls_transparent_test_driver_aead_operation_t *operation,
|
||||||
uint8_t *plaintext,
|
uint8_t *plaintext,
|
||||||
size_t plaintext_size,
|
size_t plaintext_size,
|
||||||
size_t *plaintext_length,
|
size_t *plaintext_length,
|
||||||
@ -127,7 +127,7 @@ psa_status_t mbedtls_test_transparent_aead_verify(
|
|||||||
size_t tag_length );
|
size_t tag_length );
|
||||||
|
|
||||||
psa_status_t mbedtls_test_transparent_aead_abort(
|
psa_status_t mbedtls_test_transparent_aead_abort(
|
||||||
mbedtls_psa_aead_operation_t *operation );
|
mbedtls_transparent_test_driver_aead_operation_t *operation );
|
||||||
|
|
||||||
#endif /* PSA_CRYPTO_DRIVER_TEST */
|
#endif /* PSA_CRYPTO_DRIVER_TEST */
|
||||||
#endif /* PSA_CRYPTO_TEST_DRIVERS_AEAD_H */
|
#endif /* PSA_CRYPTO_TEST_DRIVERS_AEAD_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user