Home
last modified time | relevance | path

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

/mcuboot-2.7.6/ext/tinycrypt/lib/source/
Decc_dh.c105 uECC_word_t _random[NUM_ECC_WORDS * 2]; in uECC_make_key() local
114 !rng_function((uint8_t *)_random, 2 * NUM_ECC_WORDS*uECC_WORD_SIZE)) { in uECC_make_key()
119 uECC_vli_mmod(_private, _random, curve->n, BITS_TO_WORDS(curve->num_n_bits)); in uECC_make_key()
Decc_dsa.c164 uECC_word_t _random[2*NUM_ECC_WORDS]; in uECC_sign() local
172 !rng_function((uint8_t *)_random, 2*NUM_ECC_WORDS*uECC_WORD_SIZE)) { in uECC_sign()
177 uECC_vli_mmod(k, _random, curve->n, BITS_TO_WORDS(curve->num_n_bits)); in uECC_sign()