Home
last modified time | relevance | path

Searched refs:required_nonce_size (Results 1 – 1 of 1) sorted by relevance

/mbedtls-3.5.0/library/
Dpsa_crypto.c4643 size_t required_nonce_size; local
4666 required_nonce_size = PSA_AEAD_NONCE_LENGTH(operation->key_type,
4668 if (nonce_size < required_nonce_size) {
4673 status = psa_generate_random(local_nonce, required_nonce_size);
4678 status = psa_aead_set_nonce(operation, local_nonce, required_nonce_size);
4682 memcpy(nonce, local_nonce, required_nonce_size);
4683 *nonce_length = required_nonce_size;