-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nrf_security: Added support for PSA Crypto service #14923
Conversation
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
psa_status_t psa_crypto_init(void) | ||
{ | ||
return ssf_psa_crypto_init(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d80f1ed
to
a90a9ce
Compare
a90a9ce
to
93ed582
Compare
Do you need to rebase on top of #14883 ? Since this is the version secdom is pulling in. |
89a682d
to
b6a5119
Compare
subsys/sdfw_services/services/psa_crypto/zcbor_generated/psa_crypto_service_encode.c
Show resolved
Hide resolved
d453ad1
to
dfe2a6b
Compare
b9d39be
to
1574b17
Compare
1dbaaf6
to
bafef3f
Compare
|
||
config PSA_CORE_DISABLED | ||
bool | ||
prompt "PSA core-less for SSF crypto client support" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want this user configurable?
wouldn't it be better to set default y
with depends on PSA_SSF_CRYPTO_CLIENT
Added support for PSA Crypto service -Adding configuration PSA_SSF_CRYPTO_CLIENT for a local domain build which enables PSA core-less build where ssf_crypto provides the PSA crypto APIs directly. -Adding Kconfig in PSA_CORE choice: PSA_CORE_DISABLED when SSF_CLIENT is enabled which provides PSA crypto built into the SDFW image. -Enabling MBEDTLS_PSA_CRYPTO_SPM for builds when SSF_SERVER is enabled (zephyr based build with no TF-M in SDFW). -Add MBEDTLS_USE_PSA_CRYPTO for legacy build to ensure it is using PSA APIs based on SSF_CLIENT enabled. -Add logic to give SSF_CLIENT access to the psa/crypto.h from Oberon without building the PSA core locally. -Add logic to consider both BUILD_WITH_TFM or SSF_CLIENT as something that provides PSA crypto services as a client. Ref: NCSDK-15632 Signed-off-by: Ole Sæther <[email protected]> Signed-off-by: Frank Audun Kvamtrø <[email protected]>
bafef3f
to
731ac29
Compare
Superseded by this: |
Added support for PSA Crypto service
-Adding configuration PSA_SSF_CRYPTO_CLIENT for a local domain build
which enables PSA core-less build where ssf_crypto provides the
PSA crypto APIs directly.
-Adding Kconfig in PSA_CORE choice: PSA_CORE_DISABLED when SSF_CLIENT
is enabled which provides PSA crypto built into the SDFW image.
-Enabling MBEDTLS_PSA_CRYPTO_SPM for builds when SSF_SERVER is enabled
(zephyr based build with no TF-M in SDFW).
-Add MBEDTLS_USE_PSA_CRYPTO for legacy build to ensure it is using
PSA APIs based on SSF_CLIENT enabled.
-Add logic to give SSF_CLIENT access to the psa/crypto.h from Oberon
without building the PSA core locally.
-Add logic to consider both BUILD_WITH_TFM or SSF_CLIENT as something that
provides PSA crypto services as a client.
Ref: NCSDK-15632