/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 100 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 158 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 160 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 167 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 180 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 183 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 187 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 200 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 228 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 236 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/math/py-secp256k1/secp256k1-0.13.2/libsecp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 100 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 158 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 160 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 167 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 180 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 183 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 187 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 200 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 228 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 236 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 100 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 158 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 160 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 167 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 180 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 183 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 187 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 200 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 228 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 236 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 100 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 158 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 160 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 167 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 180 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 183 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 187 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 200 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 228 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 236 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/litecoin/litecoin-0.18.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/math/secp256k1/secp256k1-aa15154/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/c-lightning/lightning-0.10.2/external/libwally-core/src/secp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/crypto/secp256k1/libsecp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/dports/security/py-coincurve/coincurve-16.0.0/libsecp256k1/src/modules/recovery/ |
H A D | tests_impl.h | 240 secp256k1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …, &sig, sigbder, sizeof(sigbder)) == 0 || secp256k1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(secp256k1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|
/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 | 240 rustsecp256k1_v0_4_1_pubkey pubkeyb; in test_ecdsa_recovery_edge_cases() local 298 CHECK(rustsecp256k1_v0_4_1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 1); in test_ecdsa_recovery_edge_cases() 300 CHECK(rustsecp256k1_v0_4_1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 1); in test_ecdsa_recovery_edge_cases() 307 CHECK(rustsecp256k1_v0_4_1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 320 CHECK(rustsecp256k1_v0_4_1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 323 CHECK(rustsecp256k1_v0_4_1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 327 CHECK(rustsecp256k1_v0_4_1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 340 …bder, sizeof(sigbder)) == 0 || rustsecp256k1_v0_4_1_ecdsa_verify(ctx, &sig, msg32, &pubkeyb) == 0); in test_ecdsa_recovery_edge_cases() 368 CHECK(rustsecp256k1_v0_4_1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases() 376 CHECK(rustsecp256k1_v0_4_1_ecdsa_recover(ctx, &pubkeyb, &rsig, msg32) == 0); in test_ecdsa_recovery_edge_cases()
|