aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-01-18 11:18:09 -0500
committerJack Lloyd <[email protected]>2019-01-18 11:18:09 -0500
commit4cbd51eb23a4122659a3afcee35e4bb79f4ff803 (patch)
tree60512b1ee2f1ec9ce7bb1007418b4767017de166 /src/tests/data
parent9ca22335edcb9800158f4691de20fa5d0f9cc849 (diff)
Add BMI2 variants for SHA-512 and SHA-3
Both about 33% faster on Skylake
Diffstat (limited to 'src/tests/data')
-rw-r--r--src/tests/data/hash/sha2_64.vec2
-rw-r--r--src/tests/data/hash/sha3.vec2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/data/hash/sha2_64.vec b/src/tests/data/hash/sha2_64.vec
index 5498201ec..85eae0867 100644
--- a/src/tests/data/hash/sha2_64.vec
+++ b/src/tests/data/hash/sha2_64.vec
@@ -1,3 +1,5 @@
+#cpuid bmi2
+
[SHA-384]
In =
Out = 38B060A751AC96384CD9327EB1B1E36A21FDB71114BE07434C0CC7BF63F6E1DA274EDEBFE76F65FBD51AD2F14898B95B
diff --git a/src/tests/data/hash/sha3.vec b/src/tests/data/hash/sha3.vec
index af39ec6f8..0b36b6166 100644
--- a/src/tests/data/hash/sha3.vec
+++ b/src/tests/data/hash/sha3.vec
@@ -1,3 +1,5 @@
+#cpuid bmi2
+
[SHA-3(224)]
In =
Out = 6b4e03423667dbb73b6e15454f0eb1abd4597f9a1b078e3f5b5a6bc7