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
Lint
Lint Not Applicable
Unit
Tests Not Applicable