Repository navigation
SIMD-0075: Secp256r1 Precompile (Supersedes SIMD-0048) - #75
Conversation
|
Tagging participants of the former discussion around SIMD-0048 for visibility |
|
This looks great. I'll review in depth ASAP. I'd also like to point out https://github.com/guidovranken/cryptofuzz as a dynamic analysis security tool. |
Noted, thx! Will look into incorporating it into testing 🫡 |
|
I have re-written the TL;DR: Its ~3x faster than The idea here is to: A. Make implementation comparison/parity between labs/anza and Firedancer easier Let me know what you think |
|
Thanks @ptaffet-jump for the input, all comments with the exception of the |
|
Looks good to me! It is worth noting (I apologize if this has already been discussed before) that there is going to be an inconsistency in the way ecdsa malleability is handled with the existing secp256k1 implementation, which does not handle malleability. |
Yep. In the description of the SIMD we made our case as to why it would be advantageous to handle malleability, but if contributors disagree I can happily remove that check to put it in line with the other precompiles |
|
With the approval from Anza we're just missing an approval on the FD side now 👍 |
|
I'd like to recommend the following 3 changes:
Other than these 3 minor changes, everything looks good to me and I can approve on the FD side. |
|
FYI, I just opened SIMD-0152: Precompiles. The 3 changes I proposed are coherent with the new SIMD. |
0x0ece
left a comment
There was a problem hiding this comment.
LGTM. I left some comments for whoever is going to develop this, but the spec looks good!
|
Have approval on the FD side, re-requesting approval from Anza 🫡 |
|
Sweet, we now have approvals from both Anza and FD 🙌 |
jacobcreech
left a comment
There was a problem hiding this comment.
Looks like we've had approvals from current core maintainers as well as ample time to make any additional comments. Thanks @iceomatic for championing this!
I've updated the SIMD to include all the things discussed in conversation on github and the core-technology channel over the past few days.
This includes:
It has become quite a bit more opinionated and therefore requires more discussion.