projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add set -e.
[u/mdw/catacomb]
/
tests
/
blowfish
diff --git
a/tests/blowfish
b/tests/blowfish
index
612dc7d
..
1727cc0
100644
(file)
--- a/
tests/blowfish
+++ b/
tests/blowfish
@@
-1,12
+1,13
@@
# Test vectors for Blowfish
#
# Test vectors for Blowfish
#
-# $Id: blowfish,v 1.1 1999/09/03 08:41:14 mdw Exp $
-
-# --- Main block cipher ---
-#
-# Taken from Bruce Schneier's web pages, I think...
+# $Id: blowfish,v 1.3 2001/04/29 17:38:07 mdw Exp $
blowfish {
blowfish {
+
+ # --- Main block cipher ---
+ #
+ # Taken from Bruce Schneier's web pages, I think...
+
0000000000000000 0000000000000000 4ef997456198dd78;
ffffffffffffffff ffffffffffffffff 51866fd5b85ecb8a;
3000000000000000 1000000000000001 7d856f9a613063f2;
0000000000000000 0000000000000000 4ef997456198dd78;
ffffffffffffffff ffffffffffffffff 51866fd5b85ecb8a;
3000000000000000 1000000000000001 7d856f9a613063f2;
@@
-41,13
+42,10
@@
blowfish {
ffffffffffffffff 0000000000000000 f21e9a77b71c49bc;
0123456789abcdef 0000000000000000 245946885754369a;
fedcba9876543210 ffffffffffffffff 6b5c5a9c5d9e0a5a;
ffffffffffffffff 0000000000000000 f21e9a77b71c49bc;
0123456789abcdef 0000000000000000 245946885754369a;
fedcba9876543210 ffffffffffffffff 6b5c5a9c5d9e0a5a;
-}
-
-# --- Key schedule test ---
-#
-# From wherever the previous tests came from.
-blowfish-sched {
+ # --- Key schedule test ---
+ #
+ # From wherever the previous tests came from.
f0
fedcba9876543210 f9ad597c49db005e;
f0
fedcba9876543210 f9ad597c49db005e;
@@
-120,5
+118,4
@@
blowfish-sched {
f0e1d2c3b4a5968778695a4b3c2d1e0f0011223344556677
fedcba9876543210 05044b62fa52d080;
f0e1d2c3b4a5968778695a4b3c2d1e0f0011223344556677
fedcba9876543210 05044b62fa52d080;
-
}
}