Home
last modified time | relevance | path

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

/net-tools-3.7.0/tinydtls-0.8.2/ecc/
Dtestecc.c174 uint32_t pub_x[8]; in ecdsaTest() local
177 ecc_ec_mult(BasePointx, BasePointy, ecdsaTestSecret, pub_x, pub_y); in ecdsaTest()
184 ret = ecc_ecdsa_validate(pub_x, pub_y, ecdsaTestMessage, tempx, tempy); in ecdsaTest()
193 ret = ecc_ecdsa_validate(pub_x, pub_y, ecdsaTestMessage, tempx, tempy); in ecdsaTest()
Decc.h56 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()
/net-tools-3.7.0/tinydtls-0.8.2/
Dcrypto.c405 uint32_t pub_x[8]; in dtls_ecdh_pre_master_secret() local
415 dtls_ec_key_to_uint32(pub_key_x, key_size, pub_x); in dtls_ecdh_pre_master_secret()
418 ecc_ecdh(pub_x, pub_y, priv, result_x, result_y); in dtls_ecdh_pre_master_secret()
430 uint32_t pub_x[8]; in dtls_ecdsa_generate_key() local
437 ecc_gen_pub_key(priv, pub_x, pub_y); in dtls_ecdsa_generate_key()
440 dtls_ec_key_from_uint32(pub_x, key_size, pub_key_x); in dtls_ecdsa_generate_key()
487 uint32_t pub_x[8]; in dtls_ecdsa_verify_sig_hash() local
493 dtls_ec_key_to_uint32(pub_key_x, key_size, pub_x); in dtls_ecdsa_verify_sig_hash()
499 return ecc_ecdsa_validate(pub_x, pub_y, hash, point_r, point_s); in dtls_ecdsa_verify_sig_hash()