Skip to content

Commit 1479dd9

Browse files
author
Alex Volinski
committed
Change naming of MBEDTLS_RANDOM_SEED_ITS
1 parent 6e87bca commit 1479dd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/mbedtls/platform/TARGET_PSA/COMPONENT_PSA_SRV_IMPL/src/default_random_seed.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
int mbed_default_seed_read(unsigned char *buf, size_t buf_len)
77
{
8-
psa_its_status_t rc = psa_its_get(MBED_RANDOM_SEED_ITS_UID, 0, buf_len, buf);
8+
psa_its_status_t rc = psa_its_get(PSA_CRYPTO_ITS_RANDOM_SEED_UID, 0, buf_len, buf);
99
return (-1 * rc);
1010
}
1111

1212
int mbed_default_seed_write(unsigned char *buf, size_t buf_len)
1313
{
14-
psa_its_status_t rc = psa_its_set(MBEDTLS_RANDOM_SEED_ITS_UID, buf_len, buf, 0);
14+
psa_its_status_t rc = psa_its_set(PSA_CRYPTO_ITS_RANDOM_SEED_UID, buf_len, buf, 0);
1515
return (-1 * rc);
1616
}
1717

0 commit comments

Comments
 (0)