Commit bc12925f authored by Niels Möller's avatar Niels Möller

Fix x86_64 fat setup for nettle_sha1_compress.

parent 4d507806
2018-07-08 Niels Möller <nisse@lysator.liu.se>
* fat-x86_64.c (fat_init): Fix setup for nettle_sha1_compress.
* x86_64/fat/sha1-compress.asm: Add leading underscore to symbol name.
* x86_64/fat/sha1-compress-2.asm: Likewise.
2018-07-07 Niels Möller <nisse@lysator.liu.se>
From Nikos Mavrogiannopoulos.
......
......@@ -182,7 +182,7 @@ fat_init (void)
{
if (verbose)
fprintf (stderr, "libnettle: not using sha_ni instructions.\n");
_nettle_sha1_compress_vec = _nettle_sha1_compress_x86_64;
nettle_sha1_compress_vec = _nettle_sha1_compress_x86_64;
_nettle_sha256_compress_vec = _nettle_sha256_compress_x86_64;
}
if (features.vendor == X86_INTEL)
......
......@@ -30,5 +30,5 @@ ifelse(<
not, see http://www.gnu.org/licenses/.
>)
define(<fat_transform>, <$1_sha_ni>)
define(<fat_transform>, <_$1_sha_ni>)
include_src(<x86_64/sha_ni/sha1-compress.asm>)
......@@ -30,5 +30,5 @@ ifelse(<
not, see http://www.gnu.org/licenses/.
>)
define(<fat_transform>, <$1_x86_64>)
define(<fat_transform>, <_$1_x86_64>)
include_src(<x86_64/sha1-compress.asm>)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment