Accelerated SHA256 with ARM64 crypto extensions? #17414

issue laanwj openend this issue on November 8, 2019
  1. laanwj commented at 9:51 am on November 8, 2019: member

    Quite a lot of ARM64 SoC have cryptography extensions, in Linux look for sha2 feature in /proc/cpuinfo or getauxval(AT_HWCAP) & HWCAP_SHA2 .

    Apparently some impressive speed-ups can be achieved, I’ve heard of 4× to 8× on some SoCs.

    Here is some public domain code by Jeffrey Walton that demonstrates how to use it, using intrinsics (which are the best way to do this kind of thing on ARM): https://github.com/noloader/SHA-Intrinsics/blob/master/sha256-arm.c

    (I’m creating this issue mostly as reminder to myself but if someone wants to pick it up, fine :smile: )

  2. laanwj added the label Feature on Nov 8, 2019
  3. laanwj renamed this:
    Accelerated SHA256 for ARM64 crypto extensions?
    Accelerated SHA256 with ARM64 crypto extensions?
    on Nov 8, 2019
  4. laanwj added the label Android on Nov 8, 2019
  5. laanwj added the label Validation on Nov 8, 2019
  6. laanwj commented at 8:35 am on January 3, 2021: member
    Seems a duplicate of #13401.
  7. laanwj closed this on Jan 3, 2021

  8. laanwj referenced this in commit c23bf06492 on Feb 14, 2022
  9. PastaPastaPasta referenced this in commit a7a3a93489 on Mar 29, 2022
  10. PastaPastaPasta referenced this in commit 8278356354 on Mar 29, 2022
  11. DrahtBot locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-23 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me