-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,7 @@ uint8_t *SHA1(const uint8_t *data, size_t len, uint8_t out[SHA_DIGEST_LENGTH]) { | |
return out; | ||
} | ||
|
||
#if !defined(SHA1_ASM) | ||
#if !defined(SHA1_ASM) && !defined(SHA1_ALTIVEC) | ||
static void sha1_block_data_order(uint32_t *state, const uint8_t *data, | ||
size_t num); | ||
#endif | ||
|
@@ -196,7 +196,7 @@ int SHA1_Final(uint8_t out[SHA_DIGEST_LENGTH], SHA_CTX *c) { | |
* <[email protected]> */ | ||
#define X(i) XX##i | ||
|
||
#if !defined(SHA1_ASM) | ||
#if !defined(SHA1_ASM) && !defined(SHA1_ALTIVEC) | ||
|
||
#if !defined(SHA1_ASM_NOHW) | ||
static void sha1_block_data_order_nohw(uint32_t *state, const uint8_t *data, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters