Use stdint.h types in multipart AEAD functions
No implementation yet.
@@ -2319,7 +2319,7 @@ psa_status_t psa_aead_decrypt_setup(psa_aead_operation_t *operation,
* \retval #PSA_ERROR_CORRUPTION_DETECTED
*/
psa_status_t psa_aead_generate_nonce(psa_aead_operation_t *operation,
- unsigned char *nonce,
+ uint8_t *nonce,
size_t nonce_size,
size_t *nonce_length);
@@ -2353,7 +2353,7 @@ psa_status_t psa_aead_generate_nonce(psa_aead_operation_t *operation,
* \retval #PSA_ERROR_CORRUPTION_DETECTED
*/
psa_status_t psa_aead_set_nonce(psa_aead_operation_t *operation,
- const unsigned char *nonce,
+ const uint8_t *nonce,
size_t nonce_length);
/** Declare the lengths of the message and additional data for AEAD.
@@ -2507,7 +2507,7 @@ psa_status_t psa_aead_update_ad(psa_aead_operation_t *operation,
psa_status_t psa_aead_update(psa_aead_operation_t *operation,
const uint8_t *input,
size_t input_length,
- unsigned char *output,
+ uint8_t *output,
size_t output_size,
size_t *output_length);
