Searched refs:pub_y (Results 1 – 3 of 3) sorted by relevance
/net-tools-2.7.6/tinydtls-0.8.2/ecc/ |
D | testecc.c | 175 uint32_t pub_y[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()
|
D | ecc.h | 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()
|
/net-tools-2.7.6/tinydtls-0.8.2/ |
D | crypto.c | 406 uint32_t pub_y[8]; in dtls_ecdh_pre_master_secret() local 416 dtls_ec_key_to_uint32(pub_key_y, key_size, pub_y); in dtls_ecdh_pre_master_secret() 418 ecc_ecdh(pub_x, pub_y, priv, result_x, result_y); in dtls_ecdh_pre_master_secret() 431 uint32_t pub_y[8]; in dtls_ecdsa_generate_key() local 437 ecc_gen_pub_key(priv, pub_x, pub_y); in dtls_ecdsa_generate_key() 441 dtls_ec_key_from_uint32(pub_y, key_size, pub_key_y); in dtls_ecdsa_generate_key() 488 uint32_t pub_y[8]; in dtls_ecdsa_verify_sig_hash() local 494 dtls_ec_key_to_uint32(pub_key_y, key_size, pub_y); 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()
|