Valerio Setti
1027c4cc3c
psasim: add support for psa_can_do_hash()
...
This commit also includes regenerated C and H files.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-03 15:36:14 +01:00
Valerio Setti
886fa8d71a
psasim: add support for psa_export_public_key_iop
...
This commit also includes regenerated C and H files.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-03 15:35:47 +01:00
Paul Elliott
b1039afbd0
Regenerate PSA Sim headers
...
Signed-off-by: Paul Elliott <paul.elliott@arm.com >
2024-11-15 14:09:03 +00:00
Gilles Peskine
7db1bcdb34
Update generated PSA wrappers
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-08-05 15:52:37 +02:00
Tom Cosgrove
4d8d5569d8
psasim: add support for psa_reset_key_attributes()
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:10 +02:00
Tom Cosgrove
feb021695a
psasim: add support for psa_copy_key()
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:10 +02:00
Tom Cosgrove
05c99e13e6
psasim: add support for psa_{sign,verify}_hash_xxx() and get/set max ops
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:09 +02:00
Tom Cosgrove
1a8b805cf5
psasim: add support for key functions that don't need psa_key_attributes_t
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:08 +02:00
Tom Cosgrove
8f1c913e38
psasim: add support for psa_asymmetric_{encrypt,decrypt}() to the simulator
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:07 +02:00
Tom Cosgrove
6add43aac8
psasim: add support for psa_{sign,verify}_{message,hash}() to the simulator
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:06 +02:00
Tom Cosgrove
5d4b9cb2e2
psasim: add support for psa_generate_key*() to the simulator
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:06 +02:00
Tom Cosgrove
c3236b85da
psasim: add support for psa_key_derivation_xxx() and psa_raw_key_agreement() to the simulator
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:05 +02:00
Tom Cosgrove
a4eac4a84d
psasim: add support for psa_cipher_xxx() functions
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:02 +02:00
Tom Cosgrove
853ca0cdb0
psasim: add support for psa_mac_xxx() functions
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:02:01 +02:00
Tom Cosgrove
baace2f7ba
psasim: add support for psa_generate_random()
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-24 08:01:29 +02:00
Tom Cosgrove
0fe5b8d4a3
Add support for and run (a copy of) the PSA aead_demo program under PSA sim
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-06-11 17:26:17 +01:00
Tom Cosgrove
61ee59f041
Add the rest of the psa_hash_xxx() functions to the simulator
...
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-05-29 15:19:27 +01:00
Tom Cosgrove
54b4ccdbf8
Add PSA crypto sim client and server implementations of psa_hash_compute()
...
A Perl script that creates them is also included as reference. This is not the
final script (that will be in Python) but a proof-of-concept to show that
creaation client and server wrappers can be scripted.
It is not hooked into the build: it must be run manually. It is not part of the
deliverables for this PR.
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com >
2024-05-29 10:27:01 +01:00
Valerio Setti
66fb1c17ff
crypto-client: reorganize source files/folders
...
The goal is to keep psasim as simple as possible:
- do not build a separate lib for psa-ff; build those source
files as part of server or client
- do not have lot of different makefiles: just 1 that does all
we need
- do not have several subfolders for headers: only 1 is enough
for this kind of project
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2024-05-10 07:59:22 +02:00