Lines Matching refs:NUM_ECC_WORDS
226 unsigned int pub[2 * NUM_ECC_WORDS]; in keygen_vectors()
227 unsigned int d[NUM_ECC_WORDS]; in keygen_vectors()
228 unsigned int prv[NUM_ECC_WORDS]; in keygen_vectors()
232 unsigned int exp_pub[2 * NUM_ECC_WORDS]; in keygen_vectors()
233 unsigned int exp_prv[NUM_ECC_WORDS]; in keygen_vectors()
236 string2scalar(exp_prv, NUM_ECC_WORDS, d_vec[i]); in keygen_vectors()
237 string2scalar(exp_pub, NUM_ECC_WORDS, qx_vec[i]); in keygen_vectors()
238 string2scalar(exp_pub + NUM_ECC_WORDS, NUM_ECC_WORDS, qy_vec[i]); in keygen_vectors()
244 memset(d, 0, NUM_ECC_WORDS); in keygen_vectors()
245 string2scalar(d, NUM_ECC_WORDS, d_vec[i]); in keygen_vectors()
254 uECC_vli_bytesToNative(pub + NUM_ECC_WORDS, pub_bytes + NUM_ECC_BYTES, NUM_ECC_BYTES); in keygen_vectors()
257 result = check_ecc_result(i, "prv ", exp_prv, prv, NUM_ECC_WORDS, verbose); in keygen_vectors()
261 result = check_ecc_result(i, "pub.x", exp_pub, pub, NUM_ECC_WORDS, verbose); in keygen_vectors()
265 …result = check_ecc_result(i, "pub.y", exp_pub + NUM_ECC_WORDS, pub + NUM_ECC_WORDS, NUM_ECC_WORDS… in keygen_vectors()