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