Lines Matching refs:pubkey
79 mp_to_unsigned_bin2(key->pubkey.x, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_Z()
84 mp_to_unsigned_bin2(key->pubkey.y, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_Z()
138 mp_to_unsigned_bin2(initiator_eph_key->pubkey.x, buf, in sm2_kep_compute_S()
145 mp_to_unsigned_bin2(initiator_eph_key->pubkey.y, buf, in sm2_kep_compute_S()
152 mp_to_unsigned_bin2(responder_eph_key->pubkey.x, buf, in sm2_kep_compute_S()
159 mp_to_unsigned_bin2(responder_eph_key->pubkey.y, buf, in sm2_kep_compute_S()
254 mp_to_unsigned_bin2(my_eph_key->pubkey.x, tmp, SM2_INT_SIZE_BYTES); in sm2_kep_derive()
271 ltc_res = ltc_ecc_is_point(&peer_eph_key->dp, peer_eph_key->pubkey.x, in sm2_kep_derive()
272 peer_eph_key->pubkey.y); in sm2_kep_derive()
278 mp_to_unsigned_bin2(peer_eph_key->pubkey.x, tmp, SM2_INT_SIZE_BYTES); in sm2_kep_derive()
302 ltc_res = ltc_ecc_mul2add(&peer_key->pubkey, one, &peer_eph_key->pubkey, in sm2_kep_derive()