1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 23:41:18 +01:00

45 Commits

Author SHA1 Message Date
Mikolai Gütschow
687cdc9fd9
sys/psa_crypto: fix typo in doc
Co-Authored-By: Pierre Le Meur <pierre1.lemeur@orange.com>
2025-06-30 11:28:55 +02:00
mguetschow
91003021c6
Merge pull request #21455 from Lukas-Luger/pr/psa-aes-ccm
sys/psa_crypto: Adding aead aes ccm
2025-05-27 19:43:17 +00:00
Lukas-Luger
ea04f0b1c4 sys/psa_crypto: add aead aes ccm 2025-05-27 15:21:01 +02:00
mguetschow
0124fdce88
Merge pull request #21461 from Lukas-Luger/pr/psa-ecc-pub-key-derivation
sys/psa_crypto: Adding ecc p256r1 pub key derivation
2025-05-27 10:10:31 +00:00
Lukas-Luger
4b69d6aada sys/psa_crypto: add psa ecc P256R1 pub key deriv. 2025-05-27 08:42:27 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
e6b17fa5cb sys: replace header guards with #pragma once 2025-05-16 19:40:06 +02:00
Marian Buschsieweke
4ce7ab2133
tree-wide: fix documentation issues
This should fix compilation with -Wdocumentation on LLVM.
2025-04-10 13:37:13 +02:00
Marian Buschsieweke
51ed6f7093
sys/psa_crypto: drop no-op Doxygen statements
This drops a lot of "no-op" Doxygen statements, such as
`@param foo <description>` where `<description>` is the empty string.

This now also provides no documentation, but a lot more compact.
2025-04-09 20:50:17 +02:00
Mikolai Gütschow
cf722592c5
sys/psa_crypto/doc: correctly end code block
fixup for 5e6a539906f643df696125307400d5f464274b11
2025-04-08 11:30:54 +02:00
crasbe
ff6bab94f6
Merge pull request #21322 from mguetschow/psa-crypto-auto-init
sys/psa_crypto: usa auto_init module for initialization
2025-04-07 17:05:01 +00:00
Marian Buschsieweke
1ff982a664
tree wide: various doc fixes
This fixes a batch of incorrect Doxygen comments that building with
LLVM/clang and `-Wdocumentation` uncovered.
2025-04-04 11:44:53 +02:00
Mikolai Gütschow
ad80fe93e4
sys/psa_crypto: document default auto-initialization 2025-04-02 18:24:29 +02:00
Mikolai Gütschow
5e6a539906
sys/psa_crypto: move to doc.md 2025-04-02 18:24:23 +02:00
Lukas-Luger
8d13b869e7 sys/psa_crypto: Adding hmac hashing on psa_import_key
Update sys/psa_crypto/psa_crypto_algorithm_dispatch.c

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-03-21 14:35:26 +01:00
Michael Richardson
44cb7f1bc8 psa_crypto: shorten @brief description, (not wrappable) 2025-03-19 13:24:42 +07:00
Michael Richardson
3dccb6c58c psa_crypto: fold some long lines 2025-03-19 13:24:42 +07:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00
mguetschow
00e25adfe3
Merge pull request #20720 from netd-tud/chacha20-glue-code-implementation
sys/psa_crypto: one-shot Chacha20 support
2024-10-29 16:52:30 +00:00
Wunderbaeumchen
b9396c4739 sys/psa_crypto: chacha20 oneshot gluecode 2024-10-17 10:25:59 +02:00
Armin Wolf
82b07318ec sys/psa_crypto: Fix missing usage flags when creating new keys
The PSA crypto specification states that when creating keys,
the usage flags PSA_KEY_USAGE_SIGN_HASH/PSA_KEY_USAGE_VERIFY_HASH
automatically set the usage flags
PSA_KEY_USAGE_SIGN_MESSAGE/PSA_KEY_USAGE_VERIFY_MESSAGE on the key.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-07 12:12:22 +02:00
Armin Wolf
d0c4e01ca3 sys/psa_crypto: Move PSA status definition to separate file
When psa_status_t is defined inside crypto_types.h, then all
users of psa_status_t are forced to pull the full range of PSA
Crypto API type definitions.

This however means that psa_status_t cannot be used when defining
those PSA Crypto API types, since doing so would create a cycle.

Fix this by moving the PSA status definitions into a separate header
file which additionally is compatible with the PSA Status code API.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-07 12:12:19 +02:00
Wunderbaeumchen
9b502027ab sys/psa_crypto: added sha3 glue code 2024-07-13 04:35:21 +02:00
mguetschow
3255b95937
Merge pull request #20598 from mguetschow/psa-hashes-sha512-truncated
sys/psa_crypto: SHA-{384,512/{224,256}}
2024-05-17 09:20:03 +00:00
mguetschow
e9f290c2e8
Merge pull request #20674 from mguetschow/psa-crypto-keysize
sys/psa_crypto: remove keysize determination from Kconfig files
2024-05-16 11:47:24 +00:00
Mikolai Gütschow
6f5f4313bd
sys/psa_crypto: remove keysize determination from Kconfig files 2024-05-16 10:28:40 +02:00
Mikolai Gütschow
ecf259579a
sys/psa_crypto: support for SHA-{384,512-{224,256}} 2024-05-14 17:06:39 +02:00
Mikolai Gütschow
15e48f0cf3
sys/psa_crypto: correct use of (ECDSA) key_bits 2024-05-14 17:02:46 +02:00
mguetschow
ad9d50163e
Merge pull request #20334 from mguetschow/psa-import-key
sys/psa_crypto: ed25519 private key {ex,im}port
2024-04-17 11:24:04 +00:00
Mikolai Gütschow
5f08f7478b
sys/psa_crypto: ed25519 private key {ex,im}port 2024-04-17 12:42:05 +02:00
Lena Boeckmann
cbadc4f658 sys/psa_crypto: implement persistent key storage 2024-04-16 11:04:51 +02:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Lena Boeckmann
1924b063ec sys/psa_crypto: use SHA256 CSPRNG as default 2024-03-26 17:05:58 +01:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
Frederik Haxel
d1f1f8a2c3 sys/psa_crypto: Use PRIuSIZE in debug messages 2024-02-05 22:02:27 +01:00
Mikolai Gütschow
aaf7064b51
sys/psa_crypto: fix compile bug for certain configuration 2024-01-02 13:59:36 +01:00
Lena Boeckmann
de09b2a0b4
sys/psa_crypto: Build PSA Crypto functions based on module selection 2023-11-30 21:02:42 +01:00
Mikolai Gütschow
6935ea21e7
sys/hashes: add SHA-512 support 2023-11-29 19:18:51 +01:00
Mikolai Gütschow
25aa2167f6
sys/psa_crypto: allow repeated calls to psa_crypto_init()
as defined per https://armmbed.github.io/mbed-crypto/html/api/library/library.html?highlight=psa_crypto_init#c.psa_crypto_init
2023-10-19 11:21:08 +02:00
Marian Buschsieweke
edc43201db
tree-wide: fix typos in doc and comments
This should not change any generated binary
2023-10-16 12:17:48 +02:00
Mikolai Gütschow
963775bdd9
sys/psa_crypto: add support for Ed25519 (EdDSA) 2023-10-09 10:21:44 +02:00
Lena Boeckmann
d4c73d6a30 sys: Add PSA Crypto Module 2023-08-31 14:38:49 +02:00