projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New block cipher DESX added.
[u/mdw/catacomb]
/
twofish.c
diff --git
a/twofish.c
b/twofish.c
index
437a191
..
4ba4860
100644
(file)
--- a/
twofish.c
+++ b/
twofish.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: twofish.c,v 1.
1 2000/06/17 12:10:17
mdw Exp $
+ * $Id: twofish.c,v 1.
2 2000/06/22 18:58:00
mdw Exp $
*
* Implementation of the Twofish cipher
*
*
* Implementation of the Twofish cipher
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: twofish.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: twofish.c,v $
+ * Revision 1.2 2000/06/22 18:58:00 mdw
+ * Twofish can handle keys with any byte-aligned size.
+ *
* Revision 1.1 2000/06/17 12:10:17 mdw
* New cipher.
*
* Revision 1.1 2000/06/17 12:10:17 mdw
* New cipher.
*
@@
-49,7
+52,7
@@
/*----- Global variables --------------------------------------------------*/
/*----- Global variables --------------------------------------------------*/
-const octet twofish_keysz[] = { KSZ_RANGE, TWOFISH_KEYSZ,
4, 32, 4
};
+const octet twofish_keysz[] = { KSZ_RANGE, TWOFISH_KEYSZ,
0, 32, 1
};
/*----- Important tables --------------------------------------------------*/
/*----- Important tables --------------------------------------------------*/