projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark dependency on mLib 2.0.0pre4 now.
[u/mdw/catacomb]
/
des.h
diff --git
a/des.h
b/des.h
index
857cec3
..
d62d72c
100644
(file)
--- a/
des.h
+++ b/
des.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: des.h,v 1.
1 1999/09/03 08:41:11
mdw Exp $
+ * $Id: des.h,v 1.
3 2000/06/17 10:52:32
mdw Exp $
*
* The Data Encryption Standard
*
*
* The Data Encryption Standard
*
@@
-30,6
+30,12
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: des.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: des.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.
*
@@
-47,8
+53,8
@@
* @des3@ interface which implements proper strong triple-DES.
*/
* @des3@ interface which implements proper strong triple-DES.
*/
-#ifndef DES_H
-#define DES_H
+#ifndef
CATACOMB_
DES_H
+#define
CATACOMB_
DES_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-66,6
+72,8
@@
#define DES_KEYSZ 7
#define DES_CLASS (N, B, 64)
#define DES_KEYSZ 7
#define DES_CLASS (N, B, 64)
+extern const octet des_keysz[];
+
/*----- Data structures ---------------------------------------------------*/
typedef struct des_ctx {
/*----- Data structures ---------------------------------------------------*/
typedef struct des_ctx {