[BACK]Return to sha1.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl / crypt / sha1

Annotation of OpenXM/src/ox_ntl/crypt/sha1/sha1.h, Revision 1.5

1.5     ! iwane       1: /* $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/sha1.h,v 1.4 2004/06/20 10:59:01 iwane Exp $ */
1.1       iwane       2:
                      3: #ifndef __SHA1_H__
                      4: #define __SHA1_H__
                      5:
1.4       iwane       6: #include <sys/types.h>
                      7:
1.1       iwane       8: #ifdef __cplusplus
                      9: extern "C" {
                     10: #endif
                     11:
1.4       iwane      12: int    sha1(unsigned char *, const unsigned char *, size_t _len);
                     13: int    sha1_h(unsigned char *, const unsigned char *, size_t _len, const uint32_t *_h);
                     14:
                     15: int    fsha1(unsigned char *, int _fd);
1.3       iwane      16:
1.4       iwane      17: void   sha1_md (uint32_t *, const unsigned char *);
1.1       iwane      18:
                     19:
1.5     ! iwane      20: #ifdef __cplusplus
        !            21: }
        !            22: #endif
        !            23:
1.1       iwane      24: #ifdef _WITH_NTL_
                     25:
1.5     ! iwane      26: #include <NTL/ZZ.h>
        !            27:
1.1       iwane      28: int    ntl_sha1(ZZ &, const ZZ &);
1.4       iwane      29: int    ntl_sha1_h(ZZ &, const ZZ &, uint32_t *);
1.1       iwane      30:
                     31: #endif /* _WITH_NTL */
                     32:
                     33:
                     34: #endif /* __SHA1_H__ */
                     35:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>