Home
last modified time | relevance | path

Searched refs:ecdsa (Results 1 – 14 of 14) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dpk_wrap.c211 mbedtls_ecdsa_context ecdsa; in eckey_verify_wrap() local
213 mbedtls_ecdsa_init( &ecdsa ); in eckey_verify_wrap()
215 if( ( ret = mbedtls_ecdsa_from_keypair( &ecdsa, ctx ) ) == 0 ) in eckey_verify_wrap()
216 ret = ecdsa_verify_wrap( &ecdsa, md_alg, hash, hash_len, sig, sig_len ); in eckey_verify_wrap()
218 mbedtls_ecdsa_free( &ecdsa ); in eckey_verify_wrap()
229 mbedtls_ecdsa_context ecdsa; in eckey_sign_wrap() local
231 mbedtls_ecdsa_init( &ecdsa ); in eckey_sign_wrap()
233 if( ( ret = mbedtls_ecdsa_from_keypair( &ecdsa, ctx ) ) == 0 ) in eckey_sign_wrap()
234 ret = ecdsa_sign_wrap( &ecdsa, md_alg, hash, hash_len, sig, sig_len, in eckey_sign_wrap()
237 mbedtls_ecdsa_free( &ecdsa ); in eckey_sign_wrap()
DMakefile52 dhm.o ecdh.o ecdsa.o \
DCMakeLists.txt23 ecdsa.c
/net-tools-3.7.0/mbedtls-2.4.0/programs/test/
Dbenchmark.c243 rsa, dhm, ecdsa, ecdh; member
309 todo.ecdsa = 1; in main()
712 if( todo.ecdsa ) in main()
714 mbedtls_ecdsa_context ecdsa; in main() local
724 mbedtls_ecdsa_init( &ecdsa ); in main()
726 if( mbedtls_ecdsa_genkey( &ecdsa, curve_info->grp_id, myrand, NULL ) != 0 ) in main()
728 ecp_clear_precomputed( &ecdsa.grp ); in main()
733 … ret = mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in main()
736 mbedtls_ecdsa_free( &ecdsa ); in main()
743 mbedtls_ecdsa_init( &ecdsa ); in main()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp343 rsa, dhm, ecdsa, ecdh; member
405 todo.ecdsa = 1; in benchmark()
764 if( todo.ecdsa ) in benchmark()
766 mbedtls_ecdsa_context ecdsa; in benchmark() local
776 mbedtls_ecdsa_init( &ecdsa ); in benchmark()
778 if( mbedtls_ecdsa_genkey( &ecdsa, curve_info->grp_id, myrand, NULL ) != 0 ) in benchmark()
780 ecp_clear_precomputed( &ecdsa.grp ); in benchmark()
785 … ret = mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in benchmark()
788 mbedtls_ecdsa_free( &ecdsa ); in benchmark()
795 mbedtls_ecdsa_init( &ecdsa ); in benchmark()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/programs/pkey/
DCMakeLists.txt13 add_executable(ecdsa ecdsa.c) target
14 target_link_libraries(ecdsa mbedtls)
/net-tools-3.7.0/tinydtls-0.8.2/
Ddtls.c524 int ecdsa; in known_cipher() local
527 ecdsa = is_ecdsa_supported(ctx, is_client); in known_cipher()
529 (ecdsa && is_tls_ecdhe_ecdsa_with_aes_128_ccm_8(code)); in known_cipher()
647 pre_master_len = dtls_ecdh_pre_master_secret(handshake->keyx.ecdsa.own_eph_priv, in calculate_key_block()
648 handshake->keyx.ecdsa.other_eph_pub_x, in calculate_key_block()
649 handshake->keyx.ecdsa.other_eph_pub_y, in calculate_key_block()
650 sizeof(handshake->keyx.ecdsa.own_eph_priv), in calculate_key_block()
1030 memcpy(handshake->keyx.ecdsa.other_eph_pub_x, data, in check_client_keyexchange()
1031 sizeof(handshake->keyx.ecdsa.other_eph_pub_x)); in check_client_keyexchange()
1032 data += sizeof(handshake->keyx.ecdsa.other_eph_pub_x); in check_client_keyexchange()
[all …]
Dcrypto.h132 dtls_handshake_parameters_ecdsa_t ecdsa; member
/net-tools-3.7.0/mbedtls-2.4.0/programs/
D.gitignore15 pkey/ecdsa
DMakefile53 pkey/ecdsa$(EXEXT) pkey/gen_key$(EXEXT) \
120 pkey/ecdsa$(EXEXT): pkey/ecdsa.c $(DEP)
122 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/ecdsa.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
/net-tools-3.7.0/mbedtls-2.4.0/tests/
DCMakeLists.txt70 add_test_suite(ecdsa)
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_ecdsa.function2 #include "mbedtls/ecdsa.h"
/net-tools-3.7.0/mbedtls-2.4.0/visualc/VS2010/
DmbedTLS.sln46 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ecdsa", "ecdsa.vcxproj", "{F58142CC-0CC7-0B18-…
/net-tools-3.7.0/mbedtls-2.4.0/
DChangeLog866 * Fix #include path in ecdsa.h which wasn't accepted by some compilers.