mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 22:47:59 +02:00
Better (and probably more correct regarding stack usage) i386 version of SHA1Transform.
This commit is contained in:
parent
4d126cbe57
commit
d3f748a020
@ -92,7 +92,7 @@ const
|
||||
K60 = $8F1BBCDC;
|
||||
K80 = $CA62C1D6;
|
||||
|
||||
{$IF (NOT(DEFINED(SHA1PASCAL))) and (DEFINED(CPU386)) }
|
||||
{$IF (NOT(DEFINED(SHA1PASCAL))) and (DEFINED(CPU386)) and DEFINED(CPUX86_HAS_BSWAP) }
|
||||
// Use assembler version if we have a suitable CPU as well
|
||||
// Define SHA1PASCAL to force use of original reference code
|
||||
{$i sha1i386.inc}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user