/net-tools-3.7.0/mbedtls-2.4.0/library/ |
D | pk_wrap.c | 211 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()
|
D | Makefile | 52 dhm.o ecdh.o ecdsa.o \
|
D | CMakeLists.txt | 23 ecdsa.c
|
/net-tools-3.7.0/mbedtls-2.4.0/programs/test/ |
D | benchmark.c | 243 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/ |
D | main.cpp | 343 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/ |
D | CMakeLists.txt | 13 add_executable(ecdsa ecdsa.c) target 14 target_link_libraries(ecdsa mbedtls)
|
/net-tools-3.7.0/tinydtls-0.8.2/ |
D | dtls.c | 524 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 …]
|
D | crypto.h | 132 dtls_handshake_parameters_ecdsa_t ecdsa; member
|
/net-tools-3.7.0/mbedtls-2.4.0/programs/ |
D | .gitignore | 15 pkey/ecdsa
|
D | Makefile | 53 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/ |
D | CMakeLists.txt | 70 add_test_suite(ecdsa)
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_ecdsa.function | 2 #include "mbedtls/ecdsa.h"
|
/net-tools-3.7.0/mbedtls-2.4.0/visualc/VS2010/ |
D | mbedTLS.sln | 46 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ecdsa", "ecdsa.vcxproj", "{F58142CC-0CC7-0B18-…
|
/net-tools-3.7.0/mbedtls-2.4.0/ |
D | ChangeLog | 866 * Fix #include path in ecdsa.h which wasn't accepted by some compilers.
|