projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Miscellaneous constification.
[u/mdw/catacomb]
/
twofish.c
diff --git
a/twofish.c
b/twofish.c
index
566ee1e
..
6f79963
100644
(file)
--- a/
twofish.c
+++ b/
twofish.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: twofish.c,v 1.
3 2002/01/13 13:37:5
9 mdw Exp $
+ * $Id: twofish.c,v 1.
4 2004/04/02 01:03:4
9 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.4 2004/04/02 01:03:49 mdw
+ * Miscellaneous constification.
+ *
* Revision 1.3 2002/01/13 13:37:59 mdw
* Add support for Twofish family keys.
*
* Revision 1.3 2002/01/13 13:37:59 mdw
* Add support for Twofish family keys.
*
@@
-286,7
+289,7
@@
void twofish_initfk(twofish_ctx *k, const void *buf, size_t sz,
void twofish_init(twofish_ctx *k, const void *buf, size_t sz)
{
void twofish_init(twofish_ctx *k, const void *buf, size_t sz)
{
- static twofish_fk fk = { { 0 } };
+ static
const
twofish_fk fk = { { 0 } };
twofish_initfk(k, buf, sz, &fk);
}
twofish_initfk(k, buf, sz, &fk);
}