Searched refs:_private (Results 1 – 2 of 2) sorted by relevance
/mcuboot-2.7.6/ext/tinycrypt/lib/source/ |
D | ecc_dh.c | 72 uECC_word_t _private[NUM_ECC_WORDS]; in uECC_make_key_with_d() local 78 memcpy (_private, d, NUM_ECC_BYTES); in uECC_make_key_with_d() 81 if (EccPoint_compute_public_key(_public, _private, curve)) { in uECC_make_key_with_d() 86 _private); in uECC_make_key_with_d() 95 memset(_private, 0, NUM_ECC_BYTES); in uECC_make_key_with_d() 106 uECC_word_t _private[NUM_ECC_WORDS]; in uECC_make_key() local 119 uECC_vli_mmod(_private, _random, curve->n, BITS_TO_WORDS(curve->num_n_bits)); in uECC_make_key() 122 if (EccPoint_compute_public_key(_public, _private, curve)) { in uECC_make_key() 127 _private); in uECC_make_key() 136 memset(_private, 0, NUM_ECC_BYTES); in uECC_make_key() [all …]
|
D | ecc.c | 912 uECC_word_t _private[NUM_ECC_WORDS]; in uECC_compute_public_key() local 916 _private, in uECC_compute_public_key() 921 if (uECC_vli_isZero(_private, BITS_TO_WORDS(curve->num_n_bits))) { in uECC_compute_public_key() 925 if (uECC_vli_cmp(curve->n, _private, BITS_TO_WORDS(curve->num_n_bits)) != 1) { in uECC_compute_public_key() 930 if (!EccPoint_compute_public_key(_public, _private, curve)) { in uECC_compute_public_key()
|