Skip to content

Commit 962e37a

Browse files
frkvanangl
authored andcommitted
[nrf fromlist] secure storage: Add missing include for mbedtls_platform_zeroize
-Adding explicit include for mbedtls/platform_util.h to get acces to mbedtls_platform_zeroize in ITS. Somehow not visibile in Zephyr but it caused build issues in nRF Connect SDK. Upstream PR #: 84457 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 71e214c commit 962e37a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

subsys/secure_storage/src/its/transform/aead.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <zephyr/secure_storage/its/transform.h>
66
#include <zephyr/secure_storage/its/transform/aead_get.h>
77
#include <zephyr/sys/__assert.h>
8+
#include <mbedtls/platform_util.h>
89

910
static psa_status_t psa_aead_crypt(psa_key_usage_t operation, secure_storage_its_uid_t uid,
1011
const uint8_t nonce

subsys/secure_storage/src/its/transform/aead_get.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <psa/crypto.h>
99
#include <string.h>
1010
#include <sys/types.h>
11+
#include <mbedtls/platform_util.h>
1112

1213
LOG_MODULE_DECLARE(secure_storage, CONFIG_SECURE_STORAGE_LOG_LEVEL);
1314

0 commit comments

Comments
 (0)