Skip to content

Commit 65ee796

Browse files
Vge0rgetomi-font
andauthored
Update subsys/nrf_security/src/drivers/cracen/cracenpsa/src/platform_keys/platform_keys.c
Co-authored-by: Tomi Fontanilles <[email protected]>
1 parent 095b6b3 commit 65ee796

File tree

1 file changed

+1
-1
lines changed
  • subsys/nrf_security/src/drivers/cracen/cracenpsa/src/platform_keys

1 file changed

+1
-1
lines changed

subsys/nrf_security/src/drivers/cracen/cracenpsa/src/platform_keys/platform_keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ psa_status_t cracen_platform_keys_provision(const psa_key_attributes_t *attribut
610610
key.sicr.bits = psa_get_key_bits(attributes);
611611

612612
/* Generate the 4 first bytes of the nonce, the rest are padded with zeros */
613-
status = cracen_generate_random(NULL, (uint8_t *)key.sicr.nonce, sizeof(key.sicr.nonce[0]));
613+
status = cracen_get_random(NULL, (uint8_t *)key.sicr.nonce, sizeof(key.sicr.nonce[0]));
614614
if (status != PSA_SUCCESS) {
615615
return status;
616616
}

0 commit comments

Comments
 (0)