mbedtls/programs/pkey
Gilles Peskine 52cc2a6368 Use new mbedtls_ecp_keypair functions in sample programs
This eliminates the use of MBEDTLS_PRIVATE in sample programs to access
fields of an mbedtls_ecp_keypair structure.

When displaying elliptic curve points, the program now display the
coordinates in the standard form instead of the internal representation.

The auxiliary function show_ecp_key is present in three programs. It's more
complex than the previous code which was also triplicated. There's no good
place for such auxiliary functions that don't belong in the library and are
used in multiple sample programs.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-12-24 19:49:43 +01:00
..
CMakeLists.txt Fix cmake build of programs 2021-06-17 09:38:38 +02:00
dh_client.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
dh_genprime.c update headers 2023-11-02 19:47:20 +00:00
dh_prime.txt
dh_server.c update headers 2023-11-02 19:47:20 +00:00
ecdh_curve25519.c update headers 2023-11-02 19:47:20 +00:00
ecdsa.c Use new mbedtls_ecp_keypair functions in sample programs 2023-12-24 19:49:43 +01:00
gen_key.c Use new mbedtls_ecp_keypair functions in sample programs 2023-12-24 19:49:43 +01:00
key_app_writer.c Use new mbedtls_ecp_keypair functions in sample programs 2023-12-24 19:49:43 +01:00
key_app.c Use new mbedtls_ecp_keypair functions in sample programs 2023-12-24 19:49:43 +01:00
mpi_demo.c update headers 2023-11-02 19:47:20 +00:00
pk_decrypt.c update headers 2023-11-02 19:47:20 +00:00
pk_encrypt.c update headers 2023-11-02 19:47:20 +00:00
pk_sign.c update headers 2023-11-02 19:47:20 +00:00
pk_verify.c update headers 2023-11-02 19:47:20 +00:00
rsa_decrypt.c update headers 2023-11-02 19:47:20 +00:00
rsa_encrypt.c update headers 2023-11-02 19:47:20 +00:00
rsa_genkey.c update headers 2023-11-02 19:47:20 +00:00
rsa_priv.txt Normalize line endings 2020-05-27 21:55:08 +02:00
rsa_pub.txt Normalize line endings 2020-05-27 21:55:08 +02:00
rsa_sign_pss.c update headers 2023-11-02 19:47:20 +00:00
rsa_sign.c update headers 2023-11-02 19:47:20 +00:00
rsa_verify_pss.c update headers 2023-11-02 19:47:20 +00:00
rsa_verify.c update headers 2023-11-02 19:47:20 +00:00