Searched refs:s_nonce (Results 1 – 1 of 1) sorted by relevance
123 static uint8_t s_nonce[CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_NONCE_SIZE]; in secure_storage_its_transform_aead_get_nonce() local127 ret = psa_generate_random(s_nonce, sizeof(s_nonce)); in secure_storage_its_transform_aead_get_nonce()133 for (unsigned int i = 0; i != sizeof(s_nonce); ++i) { in secure_storage_its_transform_aead_get_nonce()134 ++s_nonce[i]; in secure_storage_its_transform_aead_get_nonce()135 if (s_nonce[i] != 0) { in secure_storage_its_transform_aead_get_nonce()141 memcpy(nonce, &s_nonce, sizeof(s_nonce)); in secure_storage_its_transform_aead_get_nonce()