diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2006-12-09 17:18:13 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2006-12-09 17:18:13 +0000 |
commit | e553818e00684e8905ede16e53aa490c153b7e7a (patch) | |
tree | 6b3af3bcbac76ed5587c17adfe5399fd2059378e /validat1.cpp | |
parent | bbd05f8142921b590d6493ff37983fa687aa90e3 (diff) | |
download | cryptopp-e553818e00684e8905ede16e53aa490c153b7e7a.tar.gz |
add Salsa20 cipher
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@247 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/validat1.cpp b/validat1.cpp index f337ca1..361aa9a 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -91,6 +91,7 @@ bool ValidateAll(bool thorough) pass=ValidateSerpent() && pass; pass=ValidateSHACAL2() && pass; pass=ValidateCamellia() && pass; + pass=ValidateSalsa() && pass; pass=ValidateBBS() && pass; pass=ValidateDH() && pass; @@ -1307,3 +1308,10 @@ bool ValidateCamellia() return true; #endif } + +bool ValidateSalsa() +{ + cout << "\nSalsa validation suite running...\n"; + + return RunTestDataFile("TestVectors/salsa.txt"); +} |