diff options
| author | Michal Hanus <mikehanus@protonmail.com> | 2025-04-14 22:04:32 +0200 |
|---|---|---|
| committer | Michal Hanus <mikehanus@protonmail.com> | 2025-04-14 22:04:32 +0200 |
| commit | 2e13c372f1419f08dab7797b244681f889dd9bcf (patch) | |
| tree | 995a31c40f13068c4135c213e938e0a2a9ed05a3 /nrfdemo/build/tfm/api_ns/platform/common/nrf_provisioning.h | |
| parent | 620dfd94019f3c7e3022fa5a5fb9c9b51491062d (diff) | |
nrfdemo
Diffstat (limited to 'nrfdemo/build/tfm/api_ns/platform/common/nrf_provisioning.h')
| -rw-r--r-- | nrfdemo/build/tfm/api_ns/platform/common/nrf_provisioning.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nrfdemo/build/tfm/api_ns/platform/common/nrf_provisioning.h b/nrfdemo/build/tfm/api_ns/platform/common/nrf_provisioning.h new file mode 100644 index 0000000..ebba4e4 --- /dev/null +++ b/nrfdemo/build/tfm/api_ns/platform/common/nrf_provisioning.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2022 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +/** + * \brief Update the security lifecycle in OTP + * + * Check if this is valid transition according to the current state and update + * the OTP to transition into the new state. + * + * \param slc Must be the same or the successor state of the current one. + * + * \retval 0 Update was successful. + * \retval -EREADLCS Error on reading the current state + * \retval -EINVALIDLCS Invalid next state + */ +int tfm_attest_update_security_lifecycle_otp(enum tfm_security_lifecycle_t slc); |
