aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/shacal2
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-04 10:36:53 -0500
committerJack Lloyd <[email protected]>2018-01-04 10:36:53 -0500
commit20485157e131ca5cc8536bf0b88bdf3da806c473 (patch)
tree49a9418f85b093e91455b99635e110dc09b561c2 /src/lib/block/shacal2
parent01bd45ad63bc4080fe2d81d3850f7f07d80e9c5d (diff)
Add missing ISA annotations
Lack of these broke single file amalgamation (GH #1386)
Diffstat (limited to 'src/lib/block/shacal2')
-rw-r--r--src/lib/block/shacal2/shacal2_x86/shacal2_x86.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/block/shacal2/shacal2_x86/shacal2_x86.cpp b/src/lib/block/shacal2/shacal2_x86/shacal2_x86.cpp
index 6cb03adef..1611d6c9b 100644
--- a/src/lib/block/shacal2/shacal2_x86/shacal2_x86.cpp
+++ b/src/lib/block/shacal2/shacal2_x86/shacal2_x86.cpp
@@ -15,6 +15,7 @@ Only encryption is supported since the inverse round function would
require a different instruction
*/
+BOTAN_FUNC_ISA("sha,ssse3")
void SHACAL2::x86_encrypt_blocks(const uint8_t in[], uint8_t out[], size_t blocks) const
{
const __m128i MASK1 = _mm_set_epi8(8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7);