Searched refs:ecdh (Results 1 – 11 of 11) sorted by relevance
/mbedtls-development/programs/test/ |
A D | benchmark.c | 625 todo.ecdh = 1; in main() 1123 if( todo.ecdh ) in main() 1166 CHECK_AND_CONTINUE( mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) ); in main() 1188 … CHECK_AND_CONTINUE( mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Qp, myrand, NULL ) ); in main() 1193 CHECK_AND_CONTINUE( mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Q, in main() 1195 … CHECK_AND_CONTINUE( mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main() 1214 CHECK_AND_CONTINUE( mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) ); in main() 1236 CHECK_AND_CONTINUE( mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Qp, in main() 1238 … CHECK_AND_CONTINUE( mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Q, myrand, NULL ) ); in main() 1243 … CHECK_AND_CONTINUE( mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main() [all …]
|
/mbedtls-development/tests/suites/ |
A D | test_suite_ecdh.function | 2 #include "mbedtls/ecdh.h" 374 mbedtls_ecdh_context ecdh; 379 mbedtls_ecdh_init( &ecdh ); 392 &ecdh, &our_key, MBEDTLS_ECDH_OURS ) == 0 ); 406 &ecdh, 415 mbedtls_ecdh_free( &ecdh ); 432 mbedtls_ecdh_context ecdh; 435 mbedtls_ecdh_init( &ecdh ); 449 &ecdh, &their_key, MBEDTLS_ECDH_THEIRS ) == 457 &ecdh, &our_key, MBEDTLS_ECDH_OURS ) == [all …]
|
A 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)
|
A 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 …]
|
/mbedtls-development/include/mbedtls/ |
A 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,
|
/mbedtls-development/library/ |
A 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()
|
A D | Makefile | 90 ecdh.o \
|
A D | CMakeLists.txt | 31 ecdh.c
|
A D | psa_crypto.c | 5237 mbedtls_ecdh_context ecdh; in psa_key_agreement_ecdh() local 5241 mbedtls_ecdh_init( &ecdh ); in psa_key_agreement_ecdh() 5253 mbedtls_ecdh_get_params( &ecdh, their_key, MBEDTLS_ECDH_THEIRS ) ); in psa_key_agreement_ecdh() 5257 mbedtls_ecdh_get_params( &ecdh, our_key, MBEDTLS_ECDH_OURS ) ); in psa_key_agreement_ecdh() 5262 mbedtls_ecdh_calc_secret( &ecdh, in psa_key_agreement_ecdh() 5275 mbedtls_ecdh_free( &ecdh ); in psa_key_agreement_ecdh()
|
/mbedtls-development/scripts/data_files/ |
A D | query_config.fmt | 51 #include "mbedtls/ecdh.h"
|
/mbedtls-development/tests/ |
A D | CMakeLists.txt | 187 add_test_suite(ecdh)
|
Completed in 21 milliseconds