File: [local] / OpenXM / src / ox_ntl / crypt / sha1 / sha1.h (download)
Revision 1.1, Mon Jan 12 13:16:28 2004 UTC (20 years, 7 months ago) by iwane
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX
US Secure Hash Algorithm 1 (SHA1)
|
/* $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/sha1.h,v 1.1 2004/01/12 13:16:28 iwane Exp $ */
#ifndef __SHA1_H__
#define __SHA1_H__
#ifdef __cplusplus
extern "C" {
#endif
int sha1(unsigned char *, const unsigned char *, int len);
int sha1_h(unsigned char *, const unsigned char *, int len, unsigned int *_h);
#ifdef _WITH_NTL_
int ntl_sha1(ZZ &, const ZZ &);
int ntl_sha1_h(ZZ &, const ZZ &, unsigned int *);
#endif /* _WITH_NTL */
#ifdef __cplusplus
}
#endif
#endif /* __SHA1_H__ */