Home
last modified time | relevance | path

Searched refs:ecdh (Results 1 – 13 of 13) sorted by relevance

/mbedtls-3.5.0/programs/test/
Dbenchmark.c515 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/
Dtest_suite_ecdh.function2 #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 …]
Dtest_suite_ecdh.data84 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)
Dtest_suite_ecp.data60 # 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 …]
Dtest_suite_ecp.function5 #include "mbedtls/ecdh.h"
/mbedtls-3.5.0/library/
Ddebug.c345 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()
Dpsa_crypto_ecp.c515 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()
DMakefile101 ecdh.o \
DCMakeLists.txt36 ecdh.c
/mbedtls-3.5.0/include/mbedtls/
Ddebug.h67 #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/
Decc-heap.sh92 programs/test/benchmark ecdh ecdsa
/mbedtls-3.5.0/scripts/data_files/
Dquery_config.fmt50 #include "mbedtls/ecdh.h"
/mbedtls-3.5.0/tests/scripts/
Dall.sh2230 not grep mbedtls_ecdh_ library/ecdh.o
2307 not grep mbedtls_ecdh_ library/ecdh.o
2471 not grep mbedtls_ecdh_ library/ecdh.o