Skip to content
Snippets Groups Projects
Commit d04c9c5b authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/modules/_Crypto/lib/sha.c:1.4
parent a303a7b6
Branches
Tags
No related merge requests found
...@@ -238,8 +238,10 @@ static void sha_transform(struct sha_ctx *ctx, unsigned INT32 *data ) ...@@ -238,8 +238,10 @@ static void sha_transform(struct sha_ctx *ctx, unsigned INT32 *data )
} }
#if 1 #if 1
#ifndef EXTRACT_UCHAR #ifndef EXTRACT_UCHAR
#define EXTRACT_UCHAR(p) (*(unsigned char *)(p)) #define EXTRACT_UCHAR(p) (*(unsigned char *)(p))
#endif
#define STRING2INT(s) ((((((EXTRACT_UCHAR(s) << 8) \ #define STRING2INT(s) ((((((EXTRACT_UCHAR(s) << 8) \
| EXTRACT_UCHAR(s+1)) << 8) \ | EXTRACT_UCHAR(s+1)) << 8) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment