Lines Matching refs:hash
80 int sign_vectors(TCSha256State_t hash, char **d_vec, char **k_vec, in sign_vectors() argument
119 tc_sha256_init(hash); in sign_vectors()
120 tc_sha256_update(hash, msg, msglen); in sign_vectors()
121 tc_sha256_final(digest_bytes, hash); in sign_vectors()
342 int vrfy_vectors(TCSha256State_t hash, char **msg_vec, char **qx_vec, char **qy_vec, in vrfy_vectors() argument
376 tc_sha256_init(hash); in vrfy_vectors()
377 tc_sha256_update(hash, msg, msglen); in vrfy_vectors()
378 tc_sha256_final(digest_bytes, hash); in vrfy_vectors()
580 uint8_t hash[NUM_ECC_BYTES]; in montecarlo_signverify() local
592 uECC_vli_nativeToBytes(hash, NUM_ECC_BYTES, hash_words); in montecarlo_signverify()
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()