projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lots of new test vectors.
[u/mdw/catacomb]
/
idea.h
diff --git
a/idea.h
b/idea.h
index
5d26a57
..
326925f
100644
(file)
--- a/
idea.h
+++ b/
idea.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: idea.h,v 1.
1 1999/09/03 08:41:12
mdw Exp $
+ * $Id: idea.h,v 1.
3 2000/06/17 11:24:08
mdw Exp $
*
* Implementation of the IDEA cipher
*
*
* Implementation of the IDEA cipher
*
@@
-30,6
+30,12
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: idea.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: idea.h,v $
+ * Revision 1.3 2000/06/17 11:24:08 mdw
+ * New key size interface.
+ *
+ * Revision 1.2 1999/12/10 23:29:48 mdw
+ * Change header file guard names.
+ *
* Revision 1.1 1999/09/03 08:41:12 mdw
* Initial import.
*
* Revision 1.1 1999/09/03 08:41:12 mdw
* Initial import.
*
@@
-51,8
+57,8
@@
* domain.
*/
* domain.
*/
-#ifndef IDEA_H
-#define IDEA_H
+#ifndef
CATACOMB_
IDEA_H
+#define
CATACOMB_
IDEA_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-70,6
+76,8
@@
#define IDEA_KEYSZ 16
#define IDEA_CLASS (N, B, 64)
#define IDEA_KEYSZ 16
#define IDEA_CLASS (N, B, 64)
+extern const octet idea_keysz[];
+
/*----- Data structures ---------------------------------------------------*/
typedef struct idea_ctx {
/*----- Data structures ---------------------------------------------------*/
typedef struct idea_ctx {