Searched refs:required_nonce_size (Results 1 – 1 of 1) sorted by relevance
4643 size_t required_nonce_size; local4666 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;