~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Export the code to transform DH or EC table entries into usable group specs.
[catacomb]
/
des3.h
diff --git
a/des3.h
b/des3.h
index
ce57ac9
..
0e08f26
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.
4 2004/04/08 01:36:15
mdw Exp $
*
* Implementation of double- and triple-DES
*
*
* Implementation of double- and triple-DES
*
@@
-27,16
+27,8
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: des3.h,v $
- * 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
+49,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
+59,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 {