Latest update.
This commit is contained in:
@@ -75,9 +75,13 @@ ENDIF
|
||||
|
||||
$COMMON=sha1dgst.c sha256.c sha512.c sha3.c $SHA1ASM $KECCAK1600ASM
|
||||
SOURCE[../../libcrypto]=$COMMON sha1_one.c
|
||||
SOURCE[../../providers/libfips.a]= $COMMON
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$SHA1DEF $KECCAK1600DEF
|
||||
SOURCE[../../providers/fips]= $COMMON
|
||||
DEFINE[../../providers/fips]= $SHA1DEF $KECCAK1600DEF
|
||||
DEFINE[../../providers/libfips.a]=$SHA1DEF $KECCAK1600DEF
|
||||
DEFINE[../../providers/libimplementations.a]=$SHA1DEF $KECCAK1600DEF
|
||||
|
||||
GENERATE[sha1-586.s]=asm/sha1-586.pl
|
||||
DEPEND[sha1-586.s]=../perlasm/x86asm.pl
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
/* The implementation is in ../md32_common.h */
|
||||
|
||||
#include "sha_locl.h"
|
||||
#include "internal/sha.h"
|
||||
#include "sha_local.h"
|
||||
#include "crypto/sha.h"
|
||||
|
||||
int sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms)
|
||||
{
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ static
|
||||
#endif
|
||||
void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num);
|
||||
|
||||
#include "internal/md32_common.h"
|
||||
#include "crypto/md32_common.h"
|
||||
|
||||
#ifndef SHA256_ASM
|
||||
static const SHA_LONG K256[64] = {
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@
|
||||
#include <openssl/opensslv.h>
|
||||
|
||||
#include "internal/cryptlib.h"
|
||||
#include "internal/sha.h"
|
||||
#include "crypto/sha.h"
|
||||
|
||||
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||
defined(__x86_64) || defined(_M_AMD64) || defined(_M_X64) || \
|
||||
|
||||
@@ -42,7 +42,7 @@ static void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num);
|
||||
void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num);
|
||||
#endif
|
||||
|
||||
#include "internal/md32_common.h"
|
||||
#include "crypto/md32_common.h"
|
||||
|
||||
#define INIT_DATA_h0 0x67452301UL
|
||||
#define INIT_DATA_h1 0xefcdab89UL
|
||||
Reference in New Issue
Block a user