Home
last modified time | relevance | path

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

/net-tools-3.6.0/mbedtls-2.4.0/programs/test/
Dbenchmark.c243 rsa, dhm, ecdsa, ecdh; member
311 todo.ecdh = 1; in main()
765 if( todo.ecdh ) in main()
767 mbedtls_ecdh_context ecdh; in main() local
778 mbedtls_ecdh_init( &ecdh ); in main()
780 if( mbedtls_ecp_group_load( &ecdh.grp, curve_info->grp_id ) != 0 || in main()
781 mbedtls_ecdh_make_public( &ecdh, &olen, buf, sizeof( buf), in main()
783 mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) != 0 ) in main()
787 ecp_clear_precomputed( &ecdh.grp ); in main()
792 ret |= mbedtls_ecdh_make_public( &ecdh, &olen, buf, sizeof( buf), in main()
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp343 rsa, dhm, ecdsa, ecdh; member
407 todo.ecdh = 1; in benchmark()
817 if( todo.ecdh ) in benchmark()
819 mbedtls_ecdh_context ecdh; in benchmark() local
830 mbedtls_ecdh_init( &ecdh ); in benchmark()
832 if( mbedtls_ecp_group_load( &ecdh.grp, curve_info->grp_id ) != 0 || in benchmark()
833 mbedtls_ecdh_make_public( &ecdh, &olen, buf, sizeof( buf), in benchmark()
835 mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) != 0 ) in benchmark()
839 ecp_clear_precomputed( &ecdh.grp ); in benchmark()
844 ret |= mbedtls_ecdh_make_public( &ecdh, &olen, buf, sizeof( buf), in benchmark()
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/tests/
DCMakeLists.txt69 add_test_suite(ecdh)
/net-tools-3.6.0/mbedtls-2.4.0/library/
DMakefile52 dhm.o ecdh.o ecdsa.o \
DCMakeLists.txt22 ecdh.c
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_ecdh.function2 #include "mbedtls/ecdh.h"