sha256_implementation::UseImplementation

Bit flags selecting which CPU-specific SHA-256 implementations may be used.

Synopsis

Declared in <crypto/sha256.h>

enum UseImplementation : uint8_t;

Members

NameDescription
STANDARD Portable C++ implementation only.
USE_SSE4 Allow the SSE4-accelerated implementation.
USE_AVX2 Allow the AVX2-accelerated implementation.
USE_SHANI Allow the SHA-NI-accelerated implementation.
USE_SSE4_AND_AVX2 Allow both SSE4 and AVX2.
USE_SSE4_AND_SHANI Allow both SSE4 and SHA-NI.
USE_ALL Allow every accelerated implementation.

Non-Member Functions

NameDescription
::SHA256AutoDetectAutodetect the best available SHA256 implementation. Returns the name of the implementation.