449bd8303e
Switch to the new code style
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2023-01-11 14:50:10 +01:00
6c2e9b6048
Add MBEDTLS_ALLOW_PRIVATE_ACCESS to test programs
...
Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com >
2021-05-21 18:10:44 +02:00
d7fb66fd13
If a key is not of a supported type, something went wrong
2020-02-25 19:54:27 +01:00
e60b365a5e
EC keys can have the type MBEDTLS_PK_ECKEY_DH too
2020-02-25 19:54:07 +01:00
f02b984f86
Sanity check on elliptic curve keys: check that the group is known
2020-02-25 19:52:44 +01:00
8d36696e1f
Fix fuzz_pubkey failure on valid RSA keys
...
On a valid RSA public key, mbedtls_rsa_export should succeed if you
ask for the public fields, but fail if you ask for private fields. The
code was expecting to succeed when asking for private fields, so
failed on every valid RSA public key.
2020-02-25 19:51:07 +01:00
8b1ed1cf0e
Adds explicit include to stdlib.h for abort
2020-01-22 16:22:36 +01:00
7d4bd6f15f
Checks mbedtls_rsa_export_crt return in fuzz targets
2020-01-22 14:14:18 +01:00
66070bc19d
Checks mbedtls_rsa_export return in fuzz targets
2020-01-22 13:54:56 +01:00
48f35f50bf
Move fuzz directory to programs
2019-06-27 08:46:45 +02:00