This is a simple follow-up to #1339, as suggested in comment #1339 (comment).
scalar: introduce and use `secp256k1_{read,write}_be64` helpers #1350
pull theStack wants to merge 2 commits into bitcoin-core:master from theStack:introduce_read_write_be64_helpers changing 3 files +55 −16-
theStack commented at 12:01 AM on June 17, 2023: contributor
-
scalar: use newly introduced `secp256k1_{read,write}_be64` helpers (4x64 impl.) 740528caad
-
7067ee54b4
tests: add tests for `secp256k1_{read,write}_be64`
This can be reviewed with `--ignore-all-space` (or `-w`), to ignore already existing code that was only indented.
-
stratospher commented at 4:17 AM on June 18, 2023: contributor
ACK 7067ee5. Functions look simpler to understand! Cross checked that r->d[0], r->d[1], r->d[2], r->d[3] values match for the same input on master and this PR.
- real-or-random approved
-
real-or-random commented at 6:32 PM on June 18, 2023: contributor
utACK 7067ee54b4206c26b382980f3c20b5fa0262a23a
- real-or-random merged this on Jun 18, 2023
- real-or-random closed this on Jun 18, 2023
- theStack deleted the branch on Jun 18, 2023
- sipa referenced this in commit 901336eee7 on Jun 21, 2023
- vmta referenced this in commit 8f03457eed on Jul 1, 2023
- hebasto referenced this in commit 270d2b37b8 on Jul 21, 2023
- delta1 referenced this in commit 3f32c20932 on Aug 8, 2023
- delta1 referenced this in commit 31ac0c1081 on Aug 31, 2023
- janus referenced this in commit c4348d88db on Sep 11, 2023
- div72 referenced this in commit af627d47c3 on Apr 12, 2025
- str4d referenced this in commit 5a6bf5f178 on Jun 4, 2025