Skip to content

Commit

Permalink
crypto: use sha256::Transform_ARMV8 instead of sha256_arm_shani::Tran…
Browse files Browse the repository at this point in the history
…sform
  • Loading branch information
xanimo committed May 10, 2024
1 parent ebaeb9f commit e1cd3a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crypto/sha256.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ void inline Initialize_transform_ptr()
#if defined(ENABLE_ARM_SHANI) && !defined(BUILD_BITCOIN_INTERNAL)

if (capabilities.have_arm_shani) {
sha256::transform_ptr = sha256_arm_shani::Transform;
sha256::transfrom_ptr_d64 = sha256::TransformD64Wrapper<sha256_arm_shani::Transform>;
sha256::transform_ptr = sha256::Transform_ARMV8;
sha256::transfrom_ptr_d64 = sha256::TransformD64Wrapper<sha256::Transform_ARMV8>;
sha256::transfrom_ptr_d64_2way = sha256d64_arm_shani::Transform_2way;
}
#endif
Expand Down

0 comments on commit e1cd3a8

Please sign in to comment.