ITS#8294 more for prev commit

This commit is contained in:
Howard Chu 2015-10-29 20:31:36 +00:00
parent 01c27e1342
commit fb00ef1915
2 changed files with 4 additions and 3 deletions

View File

@ -220,9 +220,9 @@ typedef u_int64_t sha2_word64; /* Exactly 8 bytes */
* library -- they are intended for private internal visibility/use
* only.
*/
void SHA512_Last(SHA512_CTX*);
void SHA256_Transform(SHA256_CTX*, const sha2_word32*);
void SHA512_Transform(SHA512_CTX*, const sha2_word64*);
static void SHA512_Last(SHA512_CTX*);
static void SHA256_Transform(SHA256_CTX*, const sha2_word32*);
static void SHA512_Transform(SHA512_CTX*, const sha2_word64*);
/*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/

View File

@ -144,6 +144,7 @@ typedef SHA512_CTX SHA384_CTX;
/*** SHA-256/384/512 Function Prototypes ******************************/
/* avoid symbol clash with other crypto libs */
#define SHA256_Init pw_SHA256_Init
#define SHA256_Update pw_SHA256_Update
#define SHA256_Final pw_SHA256_Final