/dports/devel/dtool/dtool-0.11.0/cargo-crates/secp256k1-sys-0.4.1/depend/secp256k1/src/modules/extrakeys/ |
H A D | tests_impl.h | 63 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&pk, &xonly_pk, sizeof(pk)) == 0); in test_xonly_pubkey() 71 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&xonly_pk, &pk, sizeof(xonly_pk)) != 0); in test_xonly_pubkey() 84 CHECK(rustsecp256k1_v0_4_1_memcmp_var(buf32, zeros64, 32) == 0); in test_xonly_pubkey() 113 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&xonly_pk, zeros64, sizeof(xonly_pk)) == 0); in test_xonly_pubkey() 117 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&xonly_pk, zeros64, sizeof(xonly_pk)) == 0); in test_xonly_pubkey() 397 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros96, &pk, sizeof(pk)) == 0); in test_keypair() 402 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros96, &pk, sizeof(pk)) == 0); in test_keypair() 408 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&pk, &pk_tmp, sizeof(pk)) == 0); in test_keypair() 446 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros96, sk_tmp, sizeof(sk_tmp)) == 0); in test_keypair() 451 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sk, sk_tmp, sizeof(sk_tmp)) == 0); in test_keypair() [all …]
|
H A D | tests_exhaustive_impl.h | 41 CHECK(rustsecp256k1_v0_4_1_memcmp_var(xonly_pubkey_bytes[i - 1], buf, 32) == 0); in test_exhaustive_extrakeys() 47 CHECK(rustsecp256k1_v0_4_1_memcmp_var(xonly_pubkey_bytes[i - 1], buf, 32) == 0); in test_exhaustive_extrakeys() 60 …CHECK(rustsecp256k1_v0_4_1_memcmp_var(xonly_pubkey_bytes[i - 1], xonly_pubkey_bytes[EXHAUSTIVE_TES… in test_exhaustive_extrakeys()
|
H A D | main_impl.h | 81 return rustsecp256k1_v0_4_1_memcmp_var(out[0], out[1], sizeof(out[1])); in rustsecp256k1_v0_4_1_xonly_pubkey_cmp() 153 return rustsecp256k1_v0_4_1_memcmp_var(&pk_expected32, tweaked_pubkey32, 32) == 0 in rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add_check()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/secp256k1-sys-0.4.1/depend/secp256k1/src/ |
H A D | scratch_impl.h | 14 if (rustsecp256k1_v0_4_1_memcmp_var(scratch->magic, "scratch", 8) != 0) { in rustsecp256k1_v0_4_1_scratch_checkpoint() 22 if (rustsecp256k1_v0_4_1_memcmp_var(scratch->magic, "scratch", 8) != 0) { in rustsecp256k1_v0_4_1_scratch_apply_checkpoint() 34 if (rustsecp256k1_v0_4_1_memcmp_var(scratch->magic, "scratch", 8) != 0) { in rustsecp256k1_v0_4_1_scratch_max_allocation() 59 if (rustsecp256k1_v0_4_1_memcmp_var(scratch->magic, "scratch", 8) != 0) { in rustsecp256k1_v0_4_1_scratch_alloc()
|
H A D | tests.c | 2417 CHECK(rustsecp256k1_v0_4_1_memcmp_var(b322, b32, 32) == 0); in run_field_convert() 4434 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zero, tmp, 16) == 0); in test_scalar_split() 4436 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zero, tmp, 16) == 0); in test_scalar_split() 4939 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros, ctmp, 32) == 0); in run_eckey_edge_case_test() 4951 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros, ctmp, 32) == 0); in run_eckey_edge_case_test() 4954 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros, ctmp, 32) == 0); in run_eckey_edge_case_test() 4960 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros, ctmp, 32) == 0); in run_eckey_edge_case_test() 4964 CHECK(rustsecp256k1_v0_4_1_memcmp_var(zeros, ctmp, 32) == 0); in run_eckey_edge_case_test() 5087 CHECK(rustsecp256k1_v0_4_1_memcmp_var(ctmp, ctmp2, 33) == 0); in run_eckey_edge_case_test() 5108 CHECK(rustsecp256k1_v0_4_1_memcmp_var(ctmp, ctmp2, 33) == 0); in run_eckey_edge_case_test() [all …]
|
H A D | scalar_impl.h | 287 …VERIFY_CHECK(rustsecp256k1_v0_4_1_memcmp_var(buf1, k1_bound, 32) < 0 || rustsecp256k1_v0_4_1_memcm… in rustsecp256k1_v0_4_1_scalar_split_lambda_verify() 292 …VERIFY_CHECK(rustsecp256k1_v0_4_1_memcmp_var(buf1, k2_bound, 32) < 0 || rustsecp256k1_v0_4_1_memcm… in rustsecp256k1_v0_4_1_scalar_split_lambda_verify()
|
H A D | selftest.h | 25 return rustsecp256k1_v0_4_1_memcmp_var(out, output32, 32) == 0; in rustsecp256k1_v0_4_1_selftest_sha256()
|
H A D | util.h | 208 static SECP256K1_INLINE int rustsecp256k1_v0_4_1_memcmp_var(const void *s1, const void *s2, size_t … in rustsecp256k1_v0_4_1_memcmp_var() function
|
H A D | secp256k1.c | 309 return rustsecp256k1_v0_4_1_memcmp_var(out[0], out[1], sizeof(out[0])); in rustsecp256k1_v0_4_1_ec_pubkey_cmp()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/secp256k1-sys-0.4.1/depend/secp256k1/src/modules/schnorrsig/ |
H A D | tests_impl.h | 20 CHECK(rustsecp256k1_v0_4_1_memcmp_var(nonces[0], nonces[1], 32) != 0); in nonce_function_bip340_bitflip() 31 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sha1->s, sha2->s, sizeof(sha1->s)) == 0); in test_sha256_eq() 200 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sig, expected_sig, 64) == 0); in test_schnorrsig_bip_vectors_check_signing() 204 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&pk, &pk_expected, sizeof(pk)) == 0); in test_schnorrsig_bip_vectors_check_signing() 685 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sig, zeros64, sizeof(sig)) == 0); in test_schnorrsig_sign() 688 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sig, zeros64, sizeof(sig)) == 0); in test_schnorrsig_sign() 690 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sig, zeros64, sizeof(sig)) != 0); in test_schnorrsig_sign()
|
H A D | tests_exhaustive_impl.h | 166 … CHECK(rustsecp256k1_v0_4_1_memcmp_var(sig64, xonly_pubkey_bytes[k - 1], 32) == 0); in test_exhaustive_schnorrsig_sign() 168 CHECK(rustsecp256k1_v0_4_1_memcmp_var(sig64 + 32, expected_s_bytes, 32) == 0); in test_exhaustive_schnorrsig_sign()
|
H A D | main_impl.h | 71 if (rustsecp256k1_v0_4_1_memcmp_var(algo16, bip340_algo16, 16) == 0) { in nonce_function_bip340()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/secp256k1-sys-0.4.1/depend/secp256k1/src/modules/ecdh/ |
H A D | tests_impl.h | 83 CHECK(rustsecp256k1_v0_4_1_memcmp_var(output_ecdh, point_ser, 65) == 0); in test_ecdh_generator_basepoint() 93 CHECK(rustsecp256k1_v0_4_1_memcmp_var(output_ecdh, output_ser, 32) == 0); in test_ecdh_generator_basepoint()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/secp256k1-sys-0.4.1/depend/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 187 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&signature[4], &signature[0], 64) == 0); in test_ecdsa_recovery_end_to_end() 196 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&pubkey, &recpubkey, sizeof(pubkey)) == 0); in test_ecdsa_recovery_end_to_end() 205 rustsecp256k1_v0_4_1_memcmp_var(&pubkey, &recpubkey, sizeof(pubkey)) != 0); in test_ecdsa_recovery_end_to_end()
|