Skip to content

Commit 14e7678

Browse files
author
itayzafrir
committed
Documentation update regarding SPM integration
1 parent 99974e3 commit 14e7678

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

library/psa_crypto.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@
2727

2828
#if defined(MBEDTLS_PSA_CRYPTO_C)
2929
/*
30-
* In case MBEDTLS_PSA_CRYPTO_SPM is defined the code is built for SPM (Secure
31-
* Partition Manager) integration which separate the code into two parts
32-
* NSPE (Non-Secure Process Environment) and SPE (Secure Process Environment).
33-
* In this mode an additional header file should be included.
30+
* When MBEDTLS_PSA_CRYPTO_SPM is defined, the code is being built for SPM
31+
* (Secure Partition Manager) integration which separates the code into two
32+
* parts: NSPE (Non-Secure Processing Environment) and SPE (Secure Processing
33+
* Environment). When building for the SPE, an additional header file should be
34+
* included.
3435
*/
3536
#if defined(MBEDTLS_PSA_CRYPTO_SPM)
3637
/*
37-
* PSA_CRYPTO_SECURE means that this file is compiled to the SPE side.
38-
* some headers will be affected by this flag.
38+
* PSA_CRYPTO_SECURE means that this file is compiled for the SPE.
39+
* Some headers will be affected by this flag.
3940
*/
4041
#define PSA_CRYPTO_SECURE 1
4142
#include "crypto_spe.h"

0 commit comments

Comments
 (0)