version 1.4, 2004/06/20 10:59:01 |
version 1.5, 2004/07/15 14:51:42 |
|
|
/* $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/sha1.h,v 1.3 2004/05/16 15:02:39 iwane Exp $ */ |
/* $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/sha1.h,v 1.4 2004/06/20 10:59:01 iwane Exp $ */ |
|
|
#ifndef __SHA1_H__ |
#ifndef __SHA1_H__ |
#define __SHA1_H__ |
#define __SHA1_H__ |
Line 17 int fsha1(unsigned char *, int _fd); |
|
Line 17 int fsha1(unsigned char *, int _fd); |
|
void sha1_md (uint32_t *, const unsigned char *); |
void sha1_md (uint32_t *, const unsigned char *); |
|
|
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
#ifdef _WITH_NTL_ |
#ifdef _WITH_NTL_ |
|
|
|
#include <NTL/ZZ.h> |
|
|
int ntl_sha1(ZZ &, const ZZ &); |
int ntl_sha1(ZZ &, const ZZ &); |
int ntl_sha1_h(ZZ &, const ZZ &, uint32_t *); |
int ntl_sha1_h(ZZ &, const ZZ &, uint32_t *); |
|
|
#endif /* _WITH_NTL */ |
#endif /* _WITH_NTL */ |
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /* __SHA1_H__ */ |
#endif /* __SHA1_H__ */ |
|
|