-
Notifications
You must be signed in to change notification settings - Fork 1.4k
doc: cracen: add doxygen docs to cracenpsa headers #26438
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull request overview
This PR adds comprehensive Doxygen API documentation to the CRACEN PSA driver header files, improving code documentation and enabling automated API reference generation.
Key changes:
- Added file-level Doxygen documentation headers to all CRACEN PSA include files
- Documented all public function APIs with parameter descriptions and return values
- Created Doxygen groups for major subsystems (KMU, IKG)
- Integrated CRACEN driver documentation into the nRF documentation build system
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| cracen_psa_wpa3_sae.h | Added Doxygen docs for WPA3 SAE operations |
| cracen_psa_rsa_signature_pss.h | Added Doxygen docs for RSA PSS signature functions |
| cracen_psa_rsa_signature_pkcs1v15.h | Added Doxygen docs for RSA PKCS#1 v1.5 signature functions |
| cracen_psa_rsa_keygen.h | Added Doxygen docs for RSA key generation |
| cracen_psa_rsa_encryption.h | Added Doxygen docs for RSA encryption operations |
| cracen_psa_montgomery.h | Added Doxygen docs for Montgomery curve operations |
| cracen_psa_mac_kdf.h | Added Doxygen docs for MAC and KDF definitions |
| cracen_psa_kmu.h | Added Doxygen group and comprehensive docs for KMU API |
| cracen_psa_key_ids.h | Added Doxygen docs for key ID definitions |
| cracen_psa_ikg.h | Added Doxygen group and docs for IKG API |
| cracen_psa_eddsa.h | Added Doxygen docs for EdDSA operations |
| cracen_psa_ecdsa.h | Added Doxygen docs for ECDSA operations |
| cracen_psa_builtin_key_policy.h | Added Doxygen docs for built-in key policy structures |
| cracen_psa.h | Added Doxygen group and extensive docs for main driver API |
| drivers.rst | Added CRACEN driver API documentation sections |
| nrf.doxyfile.in | Included CRACEN header directory in Doxygen input |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_wpa3_sae.h
Outdated
Show resolved
Hide resolved
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 9a0045d274aab14877a91331e20a36c18b70dd9d more detailssdk-nrf:
Github labels
List of changed files detected by CI (20)Outputs:ToolchainVersion: 400c6cb4ec Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
degjorva
left a comment
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.
Amazing! This is just some quick initial comments after skimming through it. I will give it the proper deep read it deserves later
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Show resolved
Hide resolved
|
You can find the documentation preview for this PR here. Preview links for modified nRF Connect SDK documents: https://ncsdoc.z6.web.core.windows.net/PR-26438/nrf/releases_and_maturity/releases/release-notes-changelog.html |
a08ab39 to
b202b83
Compare
b202b83 to
4278215
Compare
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.
Pull request overview
Copilot reviewed 18 out of 18 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4278215 to
92cf118
Compare
92cf118 to
097c447
Compare
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.
Pull request overview
Copilot reviewed 18 out of 18 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
degjorva
left a comment
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.
I read through ECDSA and gave some suggestions on updates there
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_ecdsa.h
Show resolved
Hide resolved
097c447 to
9f0e2b7
Compare
9f0e2b7 to
35b44a7
Compare
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.
Pull request overview
Copilot reviewed 19 out of 19 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_rsa_signature_pkcs1v15.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_wpa3_sae.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa.h
Outdated
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa.h
Outdated
Show resolved
Hide resolved
35b44a7 to
7c7329d
Compare
7c7329d to
1a8052f
Compare
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.
Pull request overview
Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_wpa3_sae.h
Show resolved
Hide resolved
subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_rsa_encryption.h
Show resolved
Hide resolved
1a8052f to
8e2fbd3
Compare
Added doxygen API documentation to headers under cracenpsa/include. NCSDK-33026. Signed-off-by: Grzegorz Ferenc <[email protected]>
8e2fbd3 to
9a0045d
Compare
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.
Pull request overview
Copilot reviewed 20 out of 20 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| /** | ||
| * @addtogroup | ||
| * @defgroup status_codes SX Status Codes |
Copilot
AI
Jan 9, 2026
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.
The group name 'status_codes' is generic and could conflict with other documentation groups. Consider using a more specific name like 'cracen_status_codes' or 'sx_status_codes' to avoid potential naming conflicts in the documentation system.
| * @defgroup status_codes SX Status Codes | |
| * @defgroup cracen_status_codes SX Status Codes |
Added doxygen API documentation to headers under cracenpsa/include. NCSDK-33026.