mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-29 11:27:01 +00:00
Use stdint.h types in multipart AEAD functions
No implementation yet.
This commit is contained in:
parent
163639b830
commit
d16bdac9b5
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue