mbedtls/programs/ssl
Hanno Becker 49ac40b81b Fixup: Don't reference legacy ECP curve identifier in config.h
TinyCrypt should be used as a replacement of legacy ECC. In particular,
there shouldn't be any use of identifiers from the legacy ECC module.

So far, there's the configuration option

  MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID

that's relevant if MBEDTLS_SSL_CONF_SINGLE_CURVE is set, and which in
this case must resolve to an identifier of type mbedtls_ecp_group_id
indicating which single curve to enable.

With the introduction of TinyCrypt, we must either change the type
of this option to mbedtls_uecc_group_id, or introduce a separate
compilation option.

In order to avoid type confusion, this commit follows tha latter
approach, introducing the configuration option

  MBEDTLS_SSL_CONF_SINGLE_UECC_GRP_ID

that indicatesthe TinyCrypt group identifier of the single curve
to use (must be Secp256r1) if MBEDTLS_SSL_CONF_SINGLE_CURVE
and MBEDTLS_USE_TINYCRYPT are set.
2019-09-04 16:17:25 +01:00
..
CMakeLists.txt Improve cmake inclusion of query_config.c when building apps 2019-02-07 10:32:31 +00:00
dtls_client.c Make function mbedtls_ssl_set_hostname(...) as optional 2019-08-27 10:47:08 +03:00
dtls_server.c Enforce NULL context for hardcoded RNG 2019-08-12 17:05:03 +01:00
mini_client.c Make function mbedtls_ssl_set_hostname(...) as optional 2019-08-27 10:47:08 +03:00
query_config.c Fixup: Don't reference legacy ECP curve identifier in config.h 2019-09-04 16:17:25 +01:00
ssl_client1.c Make function mbedtls_ssl_set_hostname(...) as optional 2019-08-27 10:47:08 +03:00
ssl_client2.c Fix unused variable warnings in ssl_client2/ssl_server2 2019-09-03 08:59:36 +01:00
ssl_fork_server.c Enforce NULL context for hardcoded RNG 2019-08-12 17:05:03 +01:00
ssl_mail_client.c Make function mbedtls_ssl_set_hostname(...) as optional 2019-08-27 10:47:08 +03:00
ssl_pthread_server.c Enforce NULL context for hardcoded RNG 2019-08-12 17:05:03 +01:00
ssl_server.c Enforce NULL context for hardcoded RNG 2019-08-12 17:05:03 +01:00
ssl_server2.c Fixup alignment in ssl_server2 2019-09-03 09:01:49 +01:00