Dave Rodgman
|
1dab445804
|
Update guard for ecp
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-09-02 10:56:44 +01:00 |
|
Dave Rodgman
|
4f47f3dac8
|
Covert PSA guards to MBEDTLS
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-31 12:10:00 +01:00 |
|
Dave Rodgman
|
a9a53a05f0
|
Merge remote-tracking branch 'origin/development' into misc-code-size
|
2023-08-31 11:53:46 +01:00 |
|
Dave Rodgman
|
dea266f3f5
|
Use MBEDTLS_MD_LIGHT instead of MBEDTLS_MD_C
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-31 11:52:43 +01:00 |
|
Dave Rodgman
|
8d706f6b59
|
Simplify camellia error conversion macros
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-31 11:48:44 +01:00 |
|
Dave Rodgman
|
09a9e589c1
|
Add missing error conversion case
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-31 11:05:22 +01:00 |
|
Dave Rodgman
|
787011542b
|
Fully replace mbedtls_psa_safer_memcmp
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-29 14:20:18 +01:00 |
|
Gilles Peskine
|
294be94922
|
Merge pull request #7818 from silabs-Kusumit/PBKDF2_cmac_implementation
PBKDF2 CMAC implementation
|
2023-08-17 11:15:16 +00:00 |
|
Dave Rodgman
|
509b567911
|
add ifdefs to reduce size of mbedtls_to_psa_error
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-16 22:37:29 +01:00 |
|
Dave Rodgman
|
6f6820345a
|
add #ifdefs to reduce switch size
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-16 18:44:32 +01:00 |
|
Dave Rodgman
|
864f594acc
|
Adjust layout of some stucts
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
|
2023-08-16 18:04:44 +01:00 |
|
Dave Rodgman
|
6f80ac4979
|
Merge pull request #7864 from waleed-elmelegy-arm/enforce-min-RSA-key-size
Enforce minimum key size when generating RSA key size
|
2023-08-03 12:57:52 +00:00 |
|
Dave Rodgman
|
1d4d944e19
|
Merge pull request #7933 from tom-cosgrove-arm/add-mbedtls_zeroize_and_free
Provide and use internal function mbedtls_zeroize_and_free()
|
2023-08-03 12:56:21 +00:00 |
|
Gilles Peskine
|
267bee9be8
|
Merge pull request #7903 from valeriosetti/issue7773
Define PSA_WANT_xxx_KEY_PAIR_yyy step 2/DH
|
2023-08-02 10:16:44 +00:00 |
|
Tom Cosgrove
|
52f7e18042
|
Use mbedtls_zeroize_and_free() in psa_remove_key_data_from_memory()
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
|
2023-08-01 09:08:48 +01:00 |
|
Manuel Pégourié-Gonnard
|
43cef57e51
|
Merge pull request #7811 from mpg/md-info
Optimize strings in MD
|
2023-07-28 08:34:09 +00:00 |
|
Kusumit Ghoderao
|
f3e696dc1b
|
Add ifdef for hmac and cmac set password
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-28 13:30:50 +05:30 |
|
Kusumit Ghoderao
|
5f3345ae44
|
Add issue link instead of issue number
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-27 21:21:38 +05:30 |
|
Kusumit Ghoderao
|
0bca4c5fc4
|
Add ifdef for hmac and cmac specific functions
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-27 21:20:14 +05:30 |
|
Kusumit Ghoderao
|
a12e2d53bd
|
Replace AES_CMAC_128_PRF_OUTPUT_SIZE with PSA_MAC_LENGTH()
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-27 21:18:30 +05:30 |
|
Kusumit Ghoderao
|
9ab03c3d72
|
Define PSA_ALG_IS_PBKDF2
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-27 21:14:05 +05:30 |
|
Kusumit Ghoderao
|
2addf35855
|
Replace MBEDTLS_PSA_BUILTIN_PBKDF2_XXX with PSA_HAVE_SOFT_PBKDF2
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-27 21:11:09 +05:30 |
|
Waleed Elmelegy
|
d7bdbbeb0a
|
Improve naming of mimimum RSA key size generation configurations
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
|
2023-07-27 14:50:09 +00:00 |
|
Waleed Elmelegy
|
ab5707185a
|
Add a minimum rsa key size config to psa config
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
|
2023-07-27 11:00:03 +00:00 |
|
Valerio Setti
|
a55f042636
|
psa: replace DH_KEY_PAIR_LEGACY with new symbols
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-07-27 09:15:34 +02:00 |
|
Gilles Peskine
|
bb07377458
|
Merge pull request #7935 from AgathiyanB/add-enum-casts
Add type casts for integer and enum types
|
2023-07-26 11:27:27 +02:00 |
|
Paul Elliott
|
f1c032adba
|
Merge pull request #7902 from valeriosetti/issue7772
Define PSA_WANT_xxx_KEY_PAIR_yyy step 2/RSA
|
2023-07-25 17:13:43 +01:00 |
|
Valerio Setti
|
fe478909f0
|
psa_crypto_rsa: fix guards for importing the key
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-07-25 12:27:19 +02:00 |
|
Tom Cosgrove
|
17526a0d16
|
Merge pull request #7906 from yanrayw/add-pake_guards_psa_crypto
PSA: add guards for PAKE getter functions
|
2023-07-24 15:59:28 +01:00 |
|
Gilles Peskine
|
5647d06be8
|
Merge pull request #7518 from gilles-peskine-arm/psa_inject_entropy-file-stability
Fix and test MBEDTLS_PSA_INJECT_ENTROPY
|
2023-07-21 17:37:15 +02:00 |
|
Dave Rodgman
|
8e8e6b9be3
|
Merge pull request #7934 from AgathiyanB/move-declarations-to-top
Move declarations to top of functions
|
2023-07-19 15:25:27 +01:00 |
|
Agathiyan Bragadeesh
|
387bfa5b84
|
Add cast in psa_crypto
Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
|
2023-07-17 17:01:33 +01:00 |
|
Agathiyan Bragadeesh
|
4d47cea8f9
|
Move declarations in psa_crypto to top
Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
|
2023-07-17 16:58:44 +01:00 |
|
Tom Cosgrove
|
ca8c61b815
|
Provide and use internal function mbedtls_zeroize_and_free()
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
|
2023-07-17 15:17:40 +01:00 |
|
Valerio Setti
|
76df8c1900
|
psa: remove redundant GENPRIME when RSA_KEY_PAIR_GENERATE is defined
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-07-11 14:11:28 +02:00 |
|
Valerio Setti
|
b2bcedbf9a
|
library: replace MBEDTLS_PSA_BUILTIN_KEY_TYPE_RSA_KEY_PAIR_LEGACY
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-07-11 14:06:00 +02:00 |
|
Valerio Setti
|
f6d4dfb745
|
library: replace PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_LEGACY symbols with proper ones
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-07-11 14:06:00 +02:00 |
|
Yanray Wang
|
ffc3c48e4e
|
Remove getter functions of PAKE if no PAKE algorithms are required
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
|
2023-07-11 17:33:22 +08:00 |
|
Manuel Pégourié-Gonnard
|
9967f11066
|
Merge pull request #7810 from valeriosetti/issue7771
Define PSA_WANT_xxx_KEY_PAIR_yyy step 2/ECC
|
2023-07-07 10:22:47 +02:00 |
|
Kusumit Ghoderao
|
3fde8feaa9
|
FIx name of macro
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-04 15:17:02 +05:30 |
|
Kusumit Ghoderao
|
4536bb6f2b
|
Change mac_size parameter in driver_mac_compute to output length
See #7801 for reference
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-04 15:17:01 +05:30 |
|
Kusumit Ghoderao
|
a2520a5b7e
|
Add pbkdf2 cmac to key derivation output_bytes
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-04 15:17:00 +05:30 |
|
Kusumit Ghoderao
|
3d5edb8eef
|
Add input password function for pbkdf2 cmac
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-04 15:17:00 +05:30 |
|
Kusumit Ghoderao
|
2cd649684a
|
Add pbkdf2_cmac to key derivation setup
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-04 15:17:00 +05:30 |
|
Kusumit Ghoderao
|
3ab146f99e
|
Add builtin pbkdf2 cmac guard for all the pbkdf2 functions
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
|
2023-07-04 15:16:59 +05:30 |
|
Manuel Pégourié-Gonnard
|
56b159a12a
|
Merge pull request #7627 from mprse/ffdh_tls13_v2
Make use of FFDH keys in TLS 1.3 v.2
|
2023-07-03 10:12:33 +02:00 |
|
Valerio Setti
|
27c501a10c
|
lib/test: replace BASIC_IMPORT_EXPORT internal symbol with BASIC,IMPORT,EXPORT
Also the python script for automatic test generation is fixed accordingly
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-06-30 10:16:22 +02:00 |
|
Valerio Setti
|
86587abde4
|
psa: fix guards for EC key derivation
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-06-30 10:16:22 +02:00 |
|
Valerio Setti
|
dd24f29105
|
psa: fix wrong naming for ECC derive symbols in code
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-06-30 10:16:22 +02:00 |
|
Valerio Setti
|
2a63460248
|
psa: fix guards for EC key derivation
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-06-30 10:16:21 +02:00 |
|