Use stdint.h types in multipart AEAD functions

No implementation yet.
This commit is contained in:
Andrew Thoelke 2019-05-15 12:34:01 +01:00 committed by Gilles Peskine
parent 163639b830
commit d16bdac9b5

View file

@ -2319,7 +2319,7 @@ psa_status_t psa_aead_decrypt_setup(psa_aead_operation_t *operation,
* \retval #PSA_ERROR_CORRUPTION_DETECTED * \retval #PSA_ERROR_CORRUPTION_DETECTED
*/ */
psa_status_t psa_aead_generate_nonce(psa_aead_operation_t *operation, 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_size,
size_t *nonce_length); 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 * \retval #PSA_ERROR_CORRUPTION_DETECTED
*/ */
psa_status_t psa_aead_set_nonce(psa_aead_operation_t *operation, psa_status_t psa_aead_set_nonce(psa_aead_operation_t *operation,
const unsigned char *nonce, const uint8_t *nonce,
size_t nonce_length); size_t nonce_length);
/** Declare the lengths of the message and additional data for AEAD. /** 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, psa_status_t psa_aead_update(psa_aead_operation_t *operation,
const uint8_t *input, const uint8_t *input,
size_t input_length, size_t input_length,
unsigned char *output, uint8_t *output,
size_t output_size, size_t output_size,
size_t *output_length); size_t *output_length);