Latest update.
This commit is contained in:
@@ -13,7 +13,11 @@ IF[{- !$disabled{asm} -}]
|
||||
ENDIF
|
||||
|
||||
SOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules
|
||||
DEFINE[../../libcrypto]=$RMD160DEF
|
||||
DEFINE[../providers/libimplementations.a]=$RMD160DEF
|
||||
|
||||
GENERATE[rmd-586.s]=asm/rmd-586.pl
|
||||
DEPEND[rmd-586.s]=../perlasm/x86asm.pl
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "rmd_locl.h"
|
||||
#include "rmd_local.h"
|
||||
#include <openssl/opensslv.h>
|
||||
|
||||
#ifdef RMD160_ASM
|
||||
@@ -39,7 +39,7 @@ void ripemd160_block_data_order(RIPEMD160_CTX *ctx, const void *p, size_t num)
|
||||
register unsigned MD32_REG_T A, B, C, D, E;
|
||||
unsigned MD32_REG_T a, b, c, d, e, l;
|
||||
# ifndef MD32_XARRAY
|
||||
/* See comment in crypto/sha/sha_locl.h for details. */
|
||||
/* See comment in crypto/sha/sha_local.h for details. */
|
||||
unsigned MD32_REG_T XX0, XX1, XX2, XX3, XX4, XX5, XX6, XX7,
|
||||
XX8, XX9, XX10, XX11, XX12, XX13, XX14, XX15;
|
||||
# define X(i) XX##i
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <openssl/ripemd.h>
|
||||
|
||||
/*
|
||||
* DO EXAMINE COMMENTS IN crypto/md5/md5_locl.h & crypto/md5/md5_dgst.c
|
||||
* DO EXAMINE COMMENTS IN crypto/md5/md5_local.h & crypto/md5/md5_dgst.c
|
||||
* FOR EXPLANATIONS ON FOLLOWING "CODE."
|
||||
*/
|
||||
#ifdef RMD160_ASM
|
||||
@@ -42,7 +42,7 @@ void ripemd160_block_data_order(RIPEMD160_CTX *c, const void *p, size_t num);
|
||||
} while (0)
|
||||
#define HASH_BLOCK_DATA_ORDER ripemd160_block_data_order
|
||||
|
||||
#include "internal/md32_common.h"
|
||||
#include "crypto/md32_common.h"
|
||||
|
||||
/*
|
||||
* Transformed F2 and F4 are courtesy of Wei Dai
|
||||
Reference in New Issue
Block a user