Page MenuHomePhabricator

SHA256 implementations based on Intel SHA Extensions
ClosedPublic

Authored by deadalnix on Oct 1 2018, 11:16.

Details

Summary
  • [Refactor] CPU feature detection logic for SHA256
  • Add SHA256 implementation using using Intel SHA intrinsics
  • Use immintrin.h everywhere for intrinsics
  • Use __cpuid_count for gnu C to avoid gitian build fail.

This is a backport of Core PR13386 and PR13611

Depends on D1850

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ishae
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3464
Build 5004: Bitcoin ABC Buildbot (legacy)
Build 5003: arc lint + arc unit