Commit 47ab963
committed
Merge rust-bitcoin/rust-secp256k1#449: Re-implement public key ordering using underlying FFI functions
13af51926a17f1f6b8a5797f6eb7ce0f1280b581 Make key comparison non-fuzzable (Dr Maxim Orlovsky)
739660499b0b417a438864f3e78a3ad7117f20f8 Implement PublicKey ordering using FFI (Dr Maxim Orlovsky)
0faf404f0e6ab88a840185f9b899c9c0a569a0d3 Benchmark for key ordering (Dr Maxim Orlovsky)
999d165c68f448a6444fb51895c6e75c7226d297 FFI for pubkey comparison ops (Dr Maxim Orlovsky)
Pull request description:
Re-base #309 for @dr-orlovsky on request by @Kixunil.
To do the rebase I just had to change instances of cfg_attr to use `v0_5_0` instead of `v0_4_1` e.g.,
```
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_5_0_xonly_pubkey_cmp")]
```
And drop the changes to `src/schnorrsig.rs`, all these changes are covered by the changes in `key.rs` I believe.
ACKs for top commit:
Kixunil:
ACK 13af51926a17f1f6b8a5797f6eb7ce0f1280b581
apoelstra:
ACK 13af51926a17f1f6b8a5797f6eb7ce0f1280b581
Tree-SHA512: 3054fcbc1707679f54466cdc91162c286394ad691e4f5c8ee18635a22b0854a4e60f1186ef3ca1532aacd8a637d0a153601ec203947e9e58dfcebf1bcb6199552 files changed
+44
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
437 | 443 | | |
438 | 444 | | |
439 | 445 | | |
| |||
540 | 546 | | |
541 | 547 | | |
542 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
543 | 556 | | |
544 | 557 | | |
545 | 558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
763 | 764 | | |
764 | 765 | | |
765 | 766 | | |
| 767 | + | |
766 | 768 | | |
767 | 769 | | |
768 | | - | |
| 770 | + | |
769 | 771 | | |
770 | 772 | | |
771 | 773 | | |
| 774 | + | |
772 | 775 | | |
773 | 776 | | |
774 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
775 | 781 | | |
776 | 782 | | |
777 | 783 | | |
| |||
2069 | 2075 | | |
2070 | 2076 | | |
2071 | 2077 | | |
| 2078 | + | |
2072 | 2079 | | |
2073 | 2080 | | |
2074 | 2081 | | |
| |||
2079 | 2086 | | |
2080 | 2087 | | |
2081 | 2088 | | |
2082 | | - | |
| 2089 | + | |
2083 | 2090 | | |
2084 | 2091 | | |
2085 | 2092 | | |
| |||
2430 | 2437 | | |
2431 | 2438 | | |
2432 | 2439 | | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
0 commit comments