Lines Matching refs:sig
88 unsigned int sig[2 * NUM_ECC_WORDS]; in sign_vectors() local
139 uECC_vli_bytesToNative(sig, sig_bytes, NUM_ECC_BYTES); in sign_vectors()
140 uECC_vli_bytesToNative(sig + NUM_ECC_WORDS, sig_bytes + NUM_ECC_BYTES, NUM_ECC_BYTES); in sign_vectors()
142 result = check_ecc_result(i, "sig.r", exp_r, sig, NUM_ECC_WORDS, verbose); in sign_vectors()
147 result = check_ecc_result(i, "sig.s", exp_s, sig + NUM_ECC_WORDS, NUM_ECC_WORDS, verbose); in sign_vectors()
349 unsigned int sig[2 * NUM_ECC_WORDS]; in vrfy_vectors() local
365 string2scalar(sig, NUM_ECC_WORDS, r_vec[i]); in vrfy_vectors()
366 string2scalar(sig + NUM_ECC_WORDS, NUM_ECC_WORDS, s_vec[i]); in vrfy_vectors()
400 uECC_vli_nativeToBytes(sig_bytes, NUM_ECC_BYTES, sig); in vrfy_vectors()
402 sig + NUM_ECC_WORDS); in vrfy_vectors()
582 uint8_t sig[2 * NUM_ECC_BYTES]; in montecarlo_signverify() local
599 zassert_true(uECC_sign(private, hash, sizeof(hash), sig, curve), in montecarlo_signverify()
603 zassert_true(uECC_verify(public, hash, sizeof(hash), sig, curve), in montecarlo_signverify()