/openthread-3.6.0/third_party/mbedtls/repo/programs/test/ |
D | benchmark.c | 294 rsa, dhm, ecdsa, ecdh; member 384 todo.ecdh = 1; in main() 931 if( todo.ecdh ) in main() 933 mbedtls_ecdh_context ecdh; in main() local 969 mbedtls_ecdh_init( &ecdh ); in main() 971 CHECK_AND_CONTINUE( mbedtls_ecp_group_load( &ecdh.grp, curve_info->grp_id ) ); in main() 972 CHECK_AND_CONTINUE( mbedtls_ecdh_make_public( &ecdh, &olen, buf, sizeof( buf), in main() 974 CHECK_AND_CONTINUE( mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) ); in main() 975 ecp_clear_precomputed( &ecdh.grp ); in main() 980 CHECK_AND_CONTINUE( mbedtls_ecdh_make_public( &ecdh, &olen, buf, sizeof( buf), in main() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/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 303 const mbedtls_ecdh_context *ecdh,
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ecdh.function | 2 #include "mbedtls/ecdh.h" 527 mbedtls_ecdh_context ecdh; 532 mbedtls_ecdh_init( &ecdh ); 545 &ecdh, &our_key, MBEDTLS_ECDH_OURS ) == 0 ); 547 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 0 ); 552 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 0 ); 554 &ecdh, &our_key, MBEDTLS_ECDH_OURS ) == 0 ); 559 &ecdh, 568 mbedtls_ecdh_free( &ecdh ); 585 mbedtls_ecdh_context ecdh; [all …]
|
D | test_suite_ecdh.data | 91 ecdh calc_secret: ours first (Alice), curve25519 (rfc 7748) 95 ecdh calc_secret: theirs first (Alice), curve25519 (rfc 7748) 99 ecdh calc_secret: ours first (Bob), curve25519 (rfc 7748)
|
D | test_suite_ecp.data | 63 # see https://cr.yp.to/ecdh.html#validate 68 # see https://cr.yp.to/ecdh.html#validate 73 # see https://cr.yp.to/ecdh.html#validate 78 # see https://cr.yp.to/ecdh.html#validate 83 # see https://cr.yp.to/ecdh.html#validate 88 # see https://cr.yp.to/ecdh.html#validate 93 # see https://cr.yp.to/ecdh.html#validate 98 # see https://cr.yp.to/ecdh.html#validate 103 # see https://cr.yp.to/ecdh.html#validate 108 # see https://cr.yp.to/ecdh.html#validate [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/library/ |
D | debug.c | 376 const mbedtls_ecdh_context *ecdh, in mbedtls_debug_printf_ecdh_internal() argument 380 const mbedtls_ecdh_context* ctx = ecdh; in mbedtls_debug_printf_ecdh_internal() 382 const mbedtls_ecdh_context_mbed* ctx = &ecdh->ctx.mbed_ecdh; in mbedtls_debug_printf_ecdh_internal() 406 const mbedtls_ecdh_context *ecdh, in mbedtls_debug_printf_ecdh() argument 410 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, attr ); in mbedtls_debug_printf_ecdh() 412 switch( ecdh->var ) in mbedtls_debug_printf_ecdh() 415 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, in mbedtls_debug_printf_ecdh()
|
D | Makefile | 91 ecdh.o \
|
D | CMakeLists.txt | 34 ecdh.c
|
D | psa_crypto.c | 4794 mbedtls_ecdh_context ecdh; in psa_key_agreement_ecdh() local 4798 mbedtls_ecdh_init( &ecdh ); in psa_key_agreement_ecdh() 4810 mbedtls_ecdh_get_params( &ecdh, their_key, MBEDTLS_ECDH_THEIRS ) ); in psa_key_agreement_ecdh() 4814 mbedtls_ecdh_get_params( &ecdh, our_key, MBEDTLS_ECDH_OURS ) ); in psa_key_agreement_ecdh() 4819 mbedtls_ecdh_calc_secret( &ecdh, in psa_key_agreement_ecdh() 4832 mbedtls_ecdh_free( &ecdh ); in psa_key_agreement_ecdh()
|
/openthread-3.6.0/third_party/mbedtls/ |
D | BUILD.gn | 75 "repo/include/mbedtls/ecdh.h", 149 "repo/library/ecdh.c",
|
/openthread-3.6.0/third_party/mbedtls/repo/scripts/data_files/ |
D | query_config.fmt | 59 #include "mbedtls/ecdh.h"
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/ |
D | CMakeLists.txt | 114 add_test_suite(ecdh)
|