Home
last modified time | relevance | path

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

/tinycrypt-latest/lib/source/
Decc_dh.c153 uECC_word_t *p2[2] = {_private, tmp}; in uECC_shared_secret() local
178 if (!uECC_generate_random_int(p2[carry], curve->p, num_words)) { in uECC_shared_secret()
182 initial_Z = p2[carry]; in uECC_shared_secret()
185 EccPoint_mult(_public, _public, p2[!carry], initial_Z, curve->num_n_bits + 1, in uECC_shared_secret()
193 _set_secure(p2, 0, sizeof(p2)); in uECC_shared_secret()
Decc.c798 uECC_word_t *p2[2] = {tmp1, tmp2}; in EccPoint_compute_public_key() local
805 EccPoint_mult(result, curve->G, p2[!carry], 0, curve->num_n_bits + 1, curve); in EccPoint_compute_public_key()