Commit 5fbcc8f
committed
Merge bitcoin/bitcoin#29180: crypto: remove use of BUILD_BITCOIN_INTERNAL macro in sha256
bbf218d crypto: remove sha256_sse4 from the base crypto helper lib (Cory Fields)
4dbd047 crypto: remove use of BUILD_BITCOIN_INTERNAL macro in sha256 (Cory Fields)
Pull request description:
Replace it with a more explicit `DISABLE_OPTIMIZED_SHA256` and clean up some.
The macro was originally used by libbitcoinconsensus which opts out of optimized sha256 for the sake of simplicity.
Also remove the `BUILD_BITCOIN_INTERNAL` define from libbitcoinkernel for now as it does not export an api. When it does we can pick a less confusing define to control its exports.
Removing the define should have the effect of enabling sha256 optimizations for the kernel.
ACKs for top commit:
TheCharlatan:
Re-ACK bbf218d
hebasto:
re-ACK bbf218d
Tree-SHA512: 7c17592bb2d3e671779f96903cb36887c5785408213bffbda1ae37b66e6bcfaffaefd0c1bf2d1a407060cd377e3d4881cde3a73c429a1aacb677f370314a066a2 files changed
+28
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
541 | 545 | | |
542 | 546 | | |
543 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
544 | 552 | | |
545 | 553 | | |
546 | 554 | | |
| |||
581 | 589 | | |
582 | 590 | | |
583 | 591 | | |
584 | | - | |
585 | | - | |
586 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
587 | 598 | | |
588 | 599 | | |
589 | 600 | | |
| |||
906 | 917 | | |
907 | 918 | | |
908 | 919 | | |
909 | | - | |
| 920 | + | |
910 | 921 | | |
911 | 922 | | |
912 | 923 | | |
| |||
1012 | 1023 | | |
1013 | 1024 | | |
1014 | 1025 | | |
1015 | | - | |
| 1026 | + | |
1016 | 1027 | | |
1017 | 1028 | | |
1018 | 1029 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
| 572 | + | |
570 | 573 | | |
571 | 574 | | |
572 | 575 | | |
| |||
576 | 579 | | |
577 | 580 | | |
578 | 581 | | |
| 582 | + | |
579 | 583 | | |
580 | 584 | | |
581 | 585 | | |
| |||
588 | 592 | | |
589 | 593 | | |
590 | 594 | | |
| 595 | + | |
591 | 596 | | |
592 | 597 | | |
593 | 598 | | |
| |||
616 | 621 | | |
617 | 622 | | |
618 | 623 | | |
619 | | - | |
| 624 | + | |
620 | 625 | | |
621 | 626 | | |
622 | 627 | | |
| |||
633 | 638 | | |
634 | 639 | | |
635 | 640 | | |
636 | | - | |
| 641 | + | |
637 | 642 | | |
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
641 | 646 | | |
642 | | - | |
| 647 | + | |
643 | 648 | | |
644 | 649 | | |
645 | 650 | | |
646 | 651 | | |
647 | 652 | | |
648 | 653 | | |
649 | 654 | | |
650 | | - | |
| 655 | + | |
651 | 656 | | |
652 | 657 | | |
653 | 658 | | |
| |||
679 | 684 | | |
680 | 685 | | |
681 | 686 | | |
| 687 | + | |
682 | 688 | | |
683 | 689 | | |
684 | 690 | | |
| |||
0 commit comments