summaryrefslogtreecommitdiff
path: root/bench1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-04-10 10:52:40 -0400
committerJeffrey Walton <noloader@gmail.com>2017-04-10 10:52:40 -0400
commit8ca0f479391c54ee454e9cddfcbe1657da240f85 (patch)
tree68b52541de179f62f3cd7e83c09f09bada8d4649 /bench1.cpp
parent8c7408bcd56ab3177ee61fe68ff07cc16d13cdd4 (diff)
downloadcryptopp-git-8ca0f479391c54ee454e9cddfcbe1657da240f85.tar.gz
Add ARIA block cipher
This is the reference implementation, test data and test vectors from the ARIA.zip package on the KISA website. The website is located at http://seed.kisa.or.kr/iwt/ko/bbs/EgovReferenceList.do?bbsId=BBSMSTR_000000000002. We have optimized routines that improve Key Setup and Bulk Encryption performance, but they are not being checked-in at the moment. The ARIA team is updating its implementation for contemporary hardware and we would like to use it as a starting point before we wander too far away from the KISA implementation.
Diffstat (limited to 'bench1.cpp')
-rw-r--r--bench1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench1.cpp b/bench1.cpp
index 58d2be8b..ba99a4a2 100644
--- a/bench1.cpp
+++ b/bench1.cpp
@@ -531,6 +531,8 @@ void Benchmark2(double t, double hertz)
BenchMarkByName<SymmetricCipher>("AES/OFB", 16);
BenchMarkByName<SymmetricCipher>("AES/CFB", 16);
BenchMarkByName<SymmetricCipher>("AES/ECB", 16);
+ BenchMarkByName<SymmetricCipher>("ARIA/CTR", 16);
+ BenchMarkByName<SymmetricCipher>("ARIA/CTR", 32);
BenchMarkByName<SymmetricCipher>("Camellia/CTR", 16);
BenchMarkByName<SymmetricCipher>("Camellia/CTR", 32);
BenchMarkByName<SymmetricCipher>("Twofish/CTR");