42 #ifndef __SHA1_ROUTINES_DOT_H__
43 #define __SHA1_ROUTINES_DOT_H__
71 #define memcpy_P memmove
75 #define strcpy_P strcpy
90 #define leftRotate(x, n) (x) = (((x) << (n)) | ((x) >> (32 - (n))))
98 #endif // __SHA1_ROUTINES_DOT_H__
Definition: sha1_routines.h:83
void shaEngine(U32 *buf, U32 *h)
Definition: sha1_routines.c:187
U32 byteCount
Definition: sha1_routines.h:86
void CL_hashInit(CL_HashContext *ctx)
Definition: sha1_routines.c:45
void CL_hashUpdate(CL_HashContext *ctx, const U8 *src, int nbytes)
Definition: sha1_routines.c:59
U32 byteCountHi
Definition: sha1_routines.h:87
void CL_hashFinal(CL_HashContext *ctx, U8 *dest)
Definition: sha1_routines.c:117
#define U32
Definition: sha1_routines.h:66
void CL_hash(U8 *msg, int msgBytes, U8 *dest)
Definition: sha1_routines.c:178
#define U8
Definition: sha1_routines.h:58