Commit 376f0f6
committed
build: remove confusing and inconsistent disable-asm option
1. It didn't actually disable asm usage in our code. Regardless of the setting,
asm is used in random.cpp and support/cleanse.cpp.
2. The value wasn't forwarded to libsecp as a user might have reasonably
expected.
3. We now have the DISABLE_OPTIMIZED_SHA256 define which is what disable-asm
actually did in practice.
If there is any desire, we can hook DISABLE_OPTIMIZED_SHA256 up to a new
configure option that actually does what it says.1 parent 22a5ccf commit 376f0f6
3 files changed
+3
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 252 | | |
263 | 253 | | |
264 | 254 | | |
| |||
460 | 450 | | |
461 | 451 | | |
462 | 452 | | |
463 | | - | |
464 | | - | |
465 | 453 | | |
466 | 454 | | |
467 | 455 | | |
| |||
600 | 588 | | |
601 | 589 | | |
602 | 590 | | |
603 | | - | |
604 | | - | |
605 | 591 | | |
606 | 592 | | |
607 | 593 | | |
| |||
1817 | 1803 | | |
1818 | 1804 | | |
1819 | 1805 | | |
1820 | | - | |
1821 | 1806 | | |
1822 | 1807 | | |
1823 | 1808 | | |
| |||
1972 | 1957 | | |
1973 | 1958 | | |
1974 | 1959 | | |
1975 | | - | |
1976 | 1960 | | |
1977 | 1961 | | |
1978 | 1962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
574 | 572 | | |
575 | 573 | | |
576 | 574 | | |
577 | | - | |
| 575 | + | |
578 | 576 | | |
579 | 577 | | |
580 | 578 | | |
| |||
597 | 595 | | |
598 | 596 | | |
599 | 597 | | |
600 | | - | |
| 598 | + | |
601 | 599 | | |
602 | 600 | | |
603 | 601 | | |
| |||
654 | 652 | | |
655 | 653 | | |
656 | 654 | | |
657 | | - | |
| 655 | + | |
658 | 656 | | |
659 | 657 | | |
660 | 658 | | |
| |||
0 commit comments