mbedtls/programs/ssl
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
..
CMakeLists.txt Remove PKCS#11 library wrapper. 2021-04-21 11:05:00 +02:00
dtls_client.c Fix MBEDTLS_PRIVATE wrapping in tests and sample programs. 2021-05-27 15:53:27 +02:00
dtls_server.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
mini_client.c Fix MBEDTLS_PRIVATE wrapping in tests and sample programs. 2021-05-27 15:53:27 +02:00
ssl_client1.c Fix MBEDTLS_PRIVATE wrapping in tests and sample programs. 2021-05-27 15:53:27 +02:00
ssl_client2.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
ssl_context_info.c Merge branch 'development' into mbedtls_private_with_python 2021-05-27 16:02:46 +02:00
ssl_fork_server.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
ssl_mail_client.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
ssl_pthread_server.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
ssl_server.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
ssl_server2.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
ssl_test_common_source.c Merge branch 'development' into convert_NO_SHA384_to_positive 2021-05-20 14:18:12 +02:00
ssl_test_lib.c Add MBEDTLS_ALLOW_PRIVATE_ACCESS to test programs 2021-05-21 18:10:44 +02:00
ssl_test_lib.h Merge remote-tracking branch 'origin/development' into development_new 2021-04-07 16:31:09 +01:00