diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-02-14 20:47:24 +0100 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-02-14 21:12:39 +0100 |
commit | c23bf06492dddacfc0eece3d4dd12cce81496dd0 (patch) | |
tree | 3b9a2e9a4dd6bcd80309c3571e90e6c14a3b8fc3 /src/test/fuzz/utxo_snapshot.cpp | |
parent | 3ce40e64d4ae9419658555fd1fb250b93f52684a (diff) | |
parent | aaa1d03d3acebeb44fdd40a302f086aad3d329ce (diff) | |
download | bitcoin-c23bf06492dddacfc0eece3d4dd12cce81496dd0.tar.xz |
Merge bitcoin/bitcoin#24115: ARMv8 SHA2 Intrinsics
aaa1d03d3acebeb44fdd40a302f086aad3d329ce Add optimized sha256d64_arm_shani::Transform_2way (Pieter Wuille)
fe0629852aaf3a26f291bfa535e7e455fe7bea06 Implement sha256_arm_shani::Transform (Pavol Rusnak)
48a72fa81f80c8a3c7c6de8339b5feb361dece1c Add sha256_arm_shani to build system (Pavol Rusnak)
c2b79342506e24e9b7100fb7a6025dc870375ef6 Rename SHANI to X86_SHANI to allow future implementation of ARM_SHANI (Pavol Rusnak)
Pull request description:
This PR adds support for ARMv8 SHA2 Intrinsics.
Fixes https://github.com/bitcoin/bitcoin/issues/13401 and https://github.com/bitcoin/bitcoin/issues/17414
* Integration part was done by me.
* The original SHA2 NI code comes from https://github.com/noloader/SHA-Intrinsics/blob/master/sha256-arm.c
* Minor optimizations from https://github.com/rollmeister/bitcoin-armv8/blob/master/src/crypto/sha256.cpp are applied too.
* The 2-way transform added by @sipa
ACKs for top commit:
laanwj:
Code review and lightly tested ACK aaa1d03d3acebeb44fdd40a302f086aad3d329ce
Tree-SHA512: 9689d6390c004269cb1ee79ed05430d7d35a6efef2554a2b6732f7258a11e7e959b3306c04b4e8637a9623fb4c12d1c1b3592da0ff0dc6d737932db302509669
Diffstat (limited to 'src/test/fuzz/utxo_snapshot.cpp')
0 files changed, 0 insertions, 0 deletions