mbedtls/programs/x509
Manuel Pégourié-Gonnard 84dea01f36 Add RNG params to private key parsing
This is necessary for the case where the public part of an EC keypair
needs to be computed from the private part - either because it was not
included (it's an optional component) or because it was compressed (a
format we can't parse).

This changes the API of two public functions: mbedtls_pk_parse_key() and
mbedtls_pk_parse_keyfile().

Tests and programs have been adapted. Some programs use a non-secure RNG
(from the test library) just to get things to compile and run; in a
future commit this should be improved in order to demonstrate best
practice.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2021-06-17 09:38:38 +02:00
..
cert_app.c Add MBEDTLS_PRIVATE wrapping to sample programs. 2021-05-21 18:10:44 +02:00
cert_req.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
cert_write.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
CMakeLists.txt Remove PKCS#11 library wrapper. 2021-04-21 11:05:00 +02:00
crl_app.c Fix minor styling issues 2021-04-27 17:38:24 +01:00
req_app.c Fix minor styling issues 2021-04-27 17:38:24 +01:00