Lines Matching refs:output_pk

183     rustsecp256k1_v0_4_1_pubkey output_pk;  in test_xonly_pubkey_tweak()  local
200 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(none, &output_pk, &internal_xonly_pk, tweak) == … in test_xonly_pubkey_tweak()
202 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(sign, &output_pk, &internal_xonly_pk, tweak) == … in test_xonly_pubkey_tweak()
204 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, tweak) =… in test_xonly_pubkey_tweak()
207 CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, NULL, tweak) == 0); in test_xonly_pubkey_tweak()
210 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&output_pk, zeros64, sizeof(output_pk)) == 0); in test_xonly_pubkey_tweak()
211 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, NULL) ==… in test_xonly_pubkey_tweak()
214 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&output_pk, zeros64, sizeof(output_pk)) == 0); in test_xonly_pubkey_tweak()
217 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, overflow… in test_xonly_pubkey_tweak()
218 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&output_pk, zeros64, sizeof(output_pk)) == 0); in test_xonly_pubkey_tweak()
221 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, zeros64)… in test_xonly_pubkey_tweak()
231 …CHECK((rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, sk) == … in test_xonly_pubkey_tweak()
232 …|| (rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, tweak) == … in test_xonly_pubkey_tweak()
233 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&output_pk, zeros64, sizeof(output_pk)) == 0); in test_xonly_pubkey_tweak()
240 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, tweak) =… in test_xonly_pubkey_tweak()
242 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&output_pk, zeros64, sizeof(output_pk)) == 0); in test_xonly_pubkey_tweak()
255 rustsecp256k1_v0_4_1_pubkey output_pk; in test_xonly_pubkey_tweak_check() local
274 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(verify, &output_pk, &internal_xonly_pk, tweak) =… in test_xonly_pubkey_tweak_check()
275 …tsecp256k1_v0_4_1_xonly_pubkey_from_pubkey(verify, &output_xonly_pk, &pk_parity, &output_pk) == 1); in test_xonly_pubkey_tweak_check()
294 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(ctx, &output_pk, &internal_xonly_pk, tweak) == 1… in test_xonly_pubkey_tweak_check()
295 …rustsecp256k1_v0_4_1_xonly_pubkey_from_pubkey(ctx, &output_xonly_pk, &pk_parity, &output_pk) == 1); in test_xonly_pubkey_tweak_check()
307 …CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_tweak_add(ctx, &output_pk, &internal_xonly_pk, overflows) … in test_xonly_pubkey_tweak_check()
308 CHECK(rustsecp256k1_v0_4_1_memcmp_var(&output_pk, zeros64, sizeof(output_pk)) == 0); in test_xonly_pubkey_tweak_check()
543 rustsecp256k1_v0_4_1_xonly_pubkey output_pk; in test_keypair_add() local
553 CHECK(rustsecp256k1_v0_4_1_keypair_xonly_pub(ctx, &output_pk, &pk_parity, &keypair) == 1); in test_keypair_add()
556 CHECK(rustsecp256k1_v0_4_1_xonly_pubkey_serialize(ctx, pk32, &output_pk) == 1); in test_keypair_add()