/net-tools-3.7.0/mbedtls-2.4.0/library/ |
D | pkcs11.c | 98 int mbedtls_pkcs11_priv_key_bind( mbedtls_pkcs11_context *priv_key, in mbedtls_pkcs11_priv_key_bind() argument 106 if( priv_key == NULL ) in mbedtls_pkcs11_priv_key_bind() 112 priv_key->len = mbedtls_pk_get_len( &cert.pk ); in mbedtls_pkcs11_priv_key_bind() 113 priv_key->pkcs11h_cert = pkcs11_cert; in mbedtls_pkcs11_priv_key_bind() 123 void mbedtls_pkcs11_priv_key_free( mbedtls_pkcs11_context *priv_key ) in mbedtls_pkcs11_priv_key_free() argument 125 if( NULL != priv_key ) in mbedtls_pkcs11_priv_key_free() 126 pkcs11h_certificate_freeCertificate( priv_key->pkcs11h_cert ); in mbedtls_pkcs11_priv_key_free()
|
/net-tools-3.7.0/tinydtls-0.8.2/ecc/ |
D | ecc.h | 55 int ecc_is_valid_key(const uint32_t * priv_key); 56 static inline void ecc_gen_pub_key(const uint32_t *priv_key, uint32_t *pub_x, uint32_t *pub_y) in ecc_gen_pub_key() argument 58 ecc_ec_mult(ecc_g_point_x, ecc_g_point_y, priv_key, pub_x, pub_y); in ecc_gen_pub_key()
|
D | ecc.c | 631 int ecc_is_valid_key(const uint32_t * priv_key) in ecc_is_valid_key() argument 633 return isGreater(ecc_order_m, priv_key, arrayLength) == 1; in ecc_is_valid_key()
|
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/ |
D | pkcs11.h | 83 int mbedtls_pkcs11_priv_key_bind( mbedtls_pkcs11_context *priv_key, 92 void mbedtls_pkcs11_priv_key_free( mbedtls_pkcs11_context *priv_key );
|
/net-tools-3.7.0/tinydtls-0.8.2/ |
D | crypto.c | 398 int dtls_ecdh_pre_master_secret(unsigned char *priv_key, in dtls_ecdh_pre_master_secret() argument 414 dtls_ec_key_to_uint32(priv_key, key_size, priv); in dtls_ecdh_pre_master_secret() 425 dtls_ecdsa_generate_key(unsigned char *priv_key, in dtls_ecdsa_generate_key() argument 439 dtls_ec_key_from_uint32(priv, key_size, priv_key); in dtls_ecdsa_generate_key() 446 dtls_ecdsa_create_sig_hash(const unsigned char *priv_key, size_t key_size, in dtls_ecdsa_create_sig_hash() argument 454 dtls_ec_key_to_uint32(priv_key, key_size, priv); in dtls_ecdsa_create_sig_hash() 463 dtls_ecdsa_create_sig(const unsigned char *priv_key, size_t key_size, in dtls_ecdsa_create_sig() argument 477 dtls_ecdsa_create_sig_hash(priv_key, key_size, sha256hash, in dtls_ecdsa_create_sig()
|
D | crypto.h | 311 int dtls_ecdh_pre_master_secret(unsigned char *priv_key, 318 void dtls_ecdsa_generate_key(unsigned char *priv_key, 323 void dtls_ecdsa_create_sig_hash(const unsigned char *priv_key, size_t key_size, 327 void dtls_ecdsa_create_sig(const unsigned char *priv_key, size_t key_size,
|
D | dtls.h | 65 const unsigned char *priv_key; /** < private key as bytes > */ member
|
D | dtls.c | 1972 dtls_ecdsa_create_sig(key->priv_key, DTLS_EC_KEY_SIZE, in dtls_send_server_key_exchange_ecdh() 2263 dtls_ecdsa_create_sig_hash(key->priv_key, DTLS_EC_KEY_SIZE, in dtls_send_certificate_verify_ecdh()
|
/net-tools-3.7.0/tinydtls-0.8.2/examples/contiki/ |
D | dtls-server.c | 169 .priv_key = ecdsa_priv_key, in get_ecdsa_key()
|
D | dtls-client.c | 188 .priv_key = ecdsa_priv_key, in get_ecdsa_key()
|
/net-tools-3.7.0/tinydtls-0.8.2/tests/ |
D | dtls-server.c | 104 .priv_key = ecdsa_priv_key, in get_ecdsa_key()
|
D | dtls-client.c | 150 .priv_key = ecdsa_priv_key, in get_ecdsa_key()
|
/net-tools-3.7.0/ |
D | coap-client.c | 576 .priv_key = ecdsa_priv_key, in get_ecdsa_key()
|