| 78 | |
| 79 | #if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64) && !defined(CRYPTOPP_DISABLE_SALSA_ASM) |
| 80 | unsigned 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 | |
| 90 | unsigned int Salsa20_Policy::GetOptimalBlockSize() const |
| 91 | { |
no test coverage detected