+/*
+ */
+
+#ifndef CRYPTO_H
+#define CRYPTO_H
+
+#include "chiark-tcl.h"
+
/* from crypto.c */
void memxor(Byte *dest, const Byte *src, int l);
int pad, use_algname;
} PadOp;
-extern Tcl_ObjType blockcipherkey_type;
+extern Tcl_ObjType cht_blockcipherkey_type;
/* from algtables.c */
void (*oneshot)(void *digest, const void *data, int len);
} HashAlgInfo;
-extern const HashAlgInfo hashalginfos[];
+extern const HashAlgInfo cht_hashalginfo_entries[];
typedef struct {
void (*make_schedule)(void *schedule, const void *key, int keylen);
BlockCipherPerDirectionInfo encrypt, decrypt;
} BlockCipherAlgInfo;
-extern const BlockCipherAlgInfo blockcipheralginfos[];
+extern const BlockCipherAlgInfo cht_blockcipheralginfo_entries[];
/* from bcmode.c */
const void *sch);
} BlockCipherModeInfo;
-extern const BlockCipherModeInfo blockciphermodeinfos[];
+extern const BlockCipherModeInfo cht_blockciphermodeinfo_entries[];
+
+#include "crypto+tcmdif.h"
+#endif /*CRYPTO_H*/