projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prototype version.
[u/mdw/catacomb]
/
des3.h
diff --git
a/des3.h
b/des3.h
index
ce57ac9
..
0a276f3
100644
(file)
--- a/
des3.h
+++ b/
des3.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: des3.h,v 1.
1 1999/09/03 08:41:11
mdw Exp $
+ * $Id: des3.h,v 1.
3 2000/06/17 10:52:32
mdw Exp $
*
* Implementation of double- and triple-DES
*
*
* Implementation of double- and triple-DES
*
@@
-30,13
+30,19
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: des3.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: des3.h,v $
+ * Revision 1.3 2000/06/17 10:52:32 mdw
+ * Support 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:11 mdw
* Initial import.
*
*/
* Revision 1.1 1999/09/03 08:41:11 mdw
* Initial import.
*
*/
-#ifndef DES3_H
-#define DES3_H
+#ifndef
CATACOMB_
DES3_H
+#define
CATACOMB_
DES3_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-57,7
+63,7
@@
#include <mLib/bits.h>
#include <mLib/bits.h>
-#ifndef DES_H
+#ifndef
CATACOMB_
DES_H
# include "des.h"
#endif
# include "des.h"
#endif
@@
-67,6
+73,8
@@
#define DES3_KEYSZ 21
#define DES3_CLASS (N, B, 64)
#define DES3_KEYSZ 21
#define DES3_CLASS (N, B, 64)
+extern const octet des3_keysz[];
+
/*----- Data structures ---------------------------------------------------*/
typedef struct des3_ctx {
/*----- Data structures ---------------------------------------------------*/
typedef struct des3_ctx {