MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetAlignment

Method GetAlignment

src/cryptopp/salsa.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79#if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64) && !defined(CRYPTOPP_DISABLE_SALSA_ASM)
80unsigned int Salsa20_Policy::GetAlignment() const
81{
82#if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE
83 if (HasSSE2())
84 return 16;
85 else
86#endif
87 return GetAlignmentOf<word32>();
88}
89
90unsigned int Salsa20_Policy::GetOptimalBlockSize() const
91{

Callers 2

OptimalDataAlignmentFunction · 0.45
ProcessDataMethod · 0.45

Calls 1

HasSSE2Function · 0.85

Tested by

no test coverage detected