projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silccrypt
/
sha256.c
diff --git
a/lib/silccrypt/sha256.c
b/lib/silccrypt/sha256.c
index 4b149a8d288508454caa6ffaaad4236c93bafbb6..3a5abc45b957936ad98ea3a57e747a9dd66057ac 100644
(file)
--- a/
lib/silccrypt/sha256.c
+++ b/
lib/silccrypt/sha256.c
@@
-53,7
+53,7
@@
SILC_HASH_API_CONTEXT_LEN(sha256)
#define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3))
#define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10))
#define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3))
#define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10))
-#ifndef SILC_SHA256_
ASM
+#ifndef SILC_SHA256_
X86
/* Transform 512-bits */
void sha256_transform(SilcUInt32 *state, unsigned char *buf)
/* Transform 512-bits */
void sha256_transform(SilcUInt32 *state, unsigned char *buf)
@@
-155,7
+155,7
@@
void sha256_transform(SilcUInt32 *state, unsigned char *buf)
}
}
}
}
-#endif /* !SILC_SHA256_
ASM
*/
+#endif /* !SILC_SHA256_
X86
*/
int sha256_init(sha256_state * md)
{
int sha256_init(sha256_state * md)
{