projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix overrun in @mpx_lsr@.
[u/mdw/catacomb]
/
skipjack.h
diff --git
a/skipjack.h
b/skipjack.h
index
9a0b3ca
..
0740a69
100644
(file)
--- a/
skipjack.h
+++ b/
skipjack.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: skipjack.h,v 1.
1 2000/07/15 15:39:33
mdw Exp $
+ * $Id: skipjack.h,v 1.
2 2000/08/01 00:28:34
mdw Exp $
*
* The Skipjack block cipher
*
*
* The Skipjack block cipher
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: skipjack.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: skipjack.h,v $
+ * Revision 1.2 2000/08/01 00:28:34 mdw
+ * Performance improvement: read keys in as 32-bit words and deal them out
+ * byte-by-byte.
+ *
* Revision 1.1 2000/07/15 15:39:33 mdw
* The NSA's Skipjack block cipher.
*
* Revision 1.1 2000/07/15 15:39:33 mdw
* The NSA's Skipjack block cipher.
*
@@
-75,7
+79,7
@@
extern const octet skipjack_keysz[];
/*----- Data structures ---------------------------------------------------*/
typedef struct skipjack_ctx {
/*----- Data structures ---------------------------------------------------*/
typedef struct skipjack_ctx {
-
octet k[10]
;
+
uint32 ka, kb, kc, kd, ke
;
} skipjack_ctx;
/*----- Functions provided ------------------------------------------------*/
} skipjack_ctx;
/*----- Functions provided ------------------------------------------------*/