/mbedtls-3.5.0/programs/test/ |
D | benchmark.c | 515 rsa, dhm, ecdsa, ecdh; member 593 todo.ecdh = 1; in main() 1089 if (todo.ecdh) { in main() 1090 mbedtls_ecdh_context ecdh; in main() local 1127 mbedtls_ecdh_init(&ecdh); in main() 1129 CHECK_AND_CONTINUE(mbedtls_ecp_group_load(&ecdh.grp, curve_info->grp_id)); in main() 1130 CHECK_AND_CONTINUE(mbedtls_ecdh_make_public(&ecdh, &olen, buf, sizeof(buf), in main() 1132 CHECK_AND_CONTINUE(mbedtls_ecp_copy(&ecdh.Qp, &ecdh.Q)); in main() 1137 CHECK_AND_CONTINUE(mbedtls_ecdh_make_public(&ecdh, &olen, buf, sizeof(buf), in main() 1139 CHECK_AND_CONTINUE(mbedtls_ecdh_calc_secret(&ecdh, &olen, buf, sizeof(buf), in main() [all …]
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_ecdh.function | 2 #include "mbedtls/ecdh.h" 376 mbedtls_ecdh_context ecdh; 381 mbedtls_ecdh_init(&ecdh); 395 &ecdh, &our_key, MBEDTLS_ECDH_OURS) == 0); 397 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS) == 0); 400 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS) == 0); 402 &ecdh, &our_key, MBEDTLS_ECDH_OURS) == 0); 407 &ecdh, 416 mbedtls_ecdh_free(&ecdh); 433 mbedtls_ecdh_context ecdh; [all …]
|
D | test_suite_ecdh.data | 84 ecdh calc_secret: ours first (Alice), curve25519 (rfc 7748) 88 ecdh calc_secret: theirs first (Alice), curve25519 (rfc 7748) 92 ecdh calc_secret: ours first (Bob), curve25519 (rfc 7748)
|
D | test_suite_ecp.data | 60 # see https://cr.yp.to/ecdh.html#validate 65 # see https://cr.yp.to/ecdh.html#validate 70 # see https://cr.yp.to/ecdh.html#validate 75 # see https://cr.yp.to/ecdh.html#validate 80 # see https://cr.yp.to/ecdh.html#validate 85 # see https://cr.yp.to/ecdh.html#validate 90 # see https://cr.yp.to/ecdh.html#validate 95 # see https://cr.yp.to/ecdh.html#validate 100 # see https://cr.yp.to/ecdh.html#validate 105 # see https://cr.yp.to/ecdh.html#validate [all …]
|
D | test_suite_ecp.function | 5 #include "mbedtls/ecdh.h"
|
/mbedtls-3.5.0/library/ |
D | debug.c | 345 const mbedtls_ecdh_context *ecdh, in mbedtls_debug_printf_ecdh_internal() argument 349 const mbedtls_ecdh_context *ctx = ecdh; in mbedtls_debug_printf_ecdh_internal() 351 const mbedtls_ecdh_context_mbed *ctx = &ecdh->ctx.mbed_ecdh; in mbedtls_debug_printf_ecdh_internal() 374 const mbedtls_ecdh_context *ecdh, in mbedtls_debug_printf_ecdh() argument 378 mbedtls_debug_printf_ecdh_internal(ssl, level, file, line, ecdh, attr); in mbedtls_debug_printf_ecdh() 380 switch (ecdh->var) { in mbedtls_debug_printf_ecdh() 382 mbedtls_debug_printf_ecdh_internal(ssl, level, file, line, ecdh, in mbedtls_debug_printf_ecdh()
|
D | psa_crypto_ecp.c | 515 mbedtls_ecdh_context ecdh; in mbedtls_psa_key_agreement_ecdh() local 518 mbedtls_ecdh_init(&ecdh); in mbedtls_psa_key_agreement_ecdh() 531 mbedtls_ecdh_get_params(&ecdh, their_key, MBEDTLS_ECDH_THEIRS)); in mbedtls_psa_key_agreement_ecdh() 536 mbedtls_ecdh_get_params(&ecdh, ecp, MBEDTLS_ECDH_OURS)); in mbedtls_psa_key_agreement_ecdh() 542 mbedtls_ecdh_calc_secret(&ecdh, in mbedtls_psa_key_agreement_ecdh() 557 mbedtls_ecdh_free(&ecdh); in mbedtls_psa_key_agreement_ecdh()
|
D | Makefile | 101 ecdh.o \
|
D | CMakeLists.txt | 36 ecdh.c
|
/mbedtls-3.5.0/include/mbedtls/ |
D | debug.h | 67 #define MBEDTLS_SSL_DEBUG_ECDH(level, ecdh, attr) \ argument 68 mbedtls_debug_printf_ecdh(ssl, level, __FILE__, __LINE__, ecdh, attr) 79 #define MBEDTLS_SSL_DEBUG_ECDH(level, ecdh, attr) do { } while (0) argument 304 const mbedtls_ecdh_context *ecdh,
|
/mbedtls-3.5.0/scripts/ |
D | ecc-heap.sh | 92 programs/test/benchmark ecdh ecdsa
|
/mbedtls-3.5.0/scripts/data_files/ |
D | query_config.fmt | 50 #include "mbedtls/ecdh.h"
|
/mbedtls-3.5.0/tests/scripts/ |
D | all.sh | 2230 not grep mbedtls_ecdh_ library/ecdh.o 2307 not grep mbedtls_ecdh_ library/ecdh.o 2471 not grep mbedtls_ecdh_ library/ecdh.o
|