1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 12:03:52 +01:00

17 Commits

Author SHA1 Message Date
Armin Wolf
27cf424720 sys/psa_crypto: Extend mac API
Currently PSA mac backends can only implement psa_mac_compute() from
the PSA crypto API, but not psa_mac_verify() and the associated
multi-part functions.

Extend the location and algorithm dispatchers to connect the above
PSA API functions to suitable backends. Also extend the MAC backend
API to allow backends to implement those additional functions. Due
to a design issue with the SE backend API (context size is dynamic,
thus requiring a memory allocation) only psa_mac_verify() can be
accelerated by SE backends.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2025-07-29 17:52:01 +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
Lukas-Luger
4b69d6aada sys/psa_crypto: add psa ecc P256R1 pub key deriv. 2025-05-27 08:42:27 +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
Michael Richardson
3dccb6c58c psa_crypto: fold some long lines 2025-03-19 13:24:42 +07: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
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
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
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
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