Lines Matching refs:ltc_tmp_key
139 ecc_key ltc_tmp_key; in _ltc_ecc_generate_keypair() local
153 res = ecc_set_curve_from_name(<c_tmp_key, name); in _ltc_ecc_generate_keypair()
159 <c_tmp_key); in _ltc_ecc_generate_keypair()
164 if (((size_t)mp_count_bits(ltc_tmp_key.pubkey.x) > key_size_bits) || in _ltc_ecc_generate_keypair()
165 ((size_t)mp_count_bits(ltc_tmp_key.pubkey.y) > key_size_bits) || in _ltc_ecc_generate_keypair()
166 ((size_t)mp_count_bits(ltc_tmp_key.k) > key_size_bits)) { in _ltc_ecc_generate_keypair()
172 if (mp_count_bits(ltc_tmp_key.pubkey.z) != 1) { in _ltc_ecc_generate_keypair()
178 ltc_mp.copy(ltc_tmp_key.k, key->d); in _ltc_ecc_generate_keypair()
179 ltc_mp.copy(ltc_tmp_key.pubkey.x, key->x); in _ltc_ecc_generate_keypair()
180 ltc_mp.copy(ltc_tmp_key.pubkey.y, key->y); in _ltc_ecc_generate_keypair()
185 ecc_free(<c_tmp_key); /* Free the temporary key */ in _ltc_ecc_generate_keypair()