Home
last modified time | relevance | path

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

/net-tools-latest/tinydtls-0.8.2/
Dcrypto.c404 uint32_t priv[8]; in dtls_ecdh_pre_master_secret() local
414 dtls_ec_key_to_uint32(priv_key, key_size, priv); in dtls_ecdh_pre_master_secret()
418 ecc_ecdh(pub_x, pub_y, priv, result_x, result_y); in dtls_ecdh_pre_master_secret()
429 uint32_t priv[8]; in dtls_ecdsa_generate_key() local
434 dtls_prng((unsigned char *)priv, key_size); in dtls_ecdsa_generate_key()
435 } while (!ecc_is_valid_key(priv)); in dtls_ecdsa_generate_key()
437 ecc_gen_pub_key(priv, pub_x, pub_y); in dtls_ecdsa_generate_key()
439 dtls_ec_key_from_uint32(priv, key_size, priv_key); in dtls_ecdsa_generate_key()
450 uint32_t priv[8]; in dtls_ecdsa_create_sig_hash() local
454 dtls_ec_key_to_uint32(priv_key, key_size, priv); in dtls_ecdsa_create_sig_hash()
[all …]