Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
74c9af26
Commit
74c9af26
authored
Feb 10, 2018
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New configure option --enable-x86-sha-ni.
parent
e11319dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
ChangeLog
ChangeLog
+4
-0
configure.ac
configure.ac
+11
-2
No files found.
ChangeLog
View file @
74c9af26
2018-02-10 Niels Möller <nisse@lysator.liu.se>
* configure.ac: New configure option --enable-x86-sha-ni.
2018-02-07 Niels Möller <nisse@lysator.liu.se>
2018-02-07 Niels Möller <nisse@lysator.liu.se>
* x86_64/fat/sha1-compress.asm: New file.
* x86_64/fat/sha1-compress.asm: New file.
...
...
configure.ac
View file @
74c9af26
...
@@ -85,6 +85,10 @@ AC_ARG_ENABLE(x86-aesni,
...
@@ -85,6 +85,10 @@ AC_ARG_ENABLE(x86-aesni,
AC_HELP_STRING([--enable-x86-aesni], [Enable x86_64 aes instructions. (default=no)]),,
AC_HELP_STRING([--enable-x86-aesni], [Enable x86_64 aes instructions. (default=no)]),,
[enable_x86_aesni=no])
[enable_x86_aesni=no])
AC_ARG_ENABLE(x86-sha-ni,
AC_HELP_STRING([--enable-x86-sha-ni], [Enable x86_64 sha_ni instructions. (default=no)]),,
[enable_x86_sha_ni=no])
AC_ARG_ENABLE(mini-gmp,
AC_ARG_ENABLE(mini-gmp,
AC_HELP_STRING([--enable-mini-gmp], [Enable mini-gmp, used instead of libgmp.]),,
AC_HELP_STRING([--enable-mini-gmp], [Enable mini-gmp, used instead of libgmp.]),,
[enable_mini_gmp=no])
[enable_mini_gmp=no])
...
@@ -405,8 +409,13 @@ if test "x$enable_assembler" = xyes ; then
...
@@ -405,8 +409,13 @@ if test "x$enable_assembler" = xyes ; then
if test "x$enable_fat" = xyes ; then
if test "x$enable_fat" = xyes ; then
asm_path="x86_64/fat $asm_path"
asm_path="x86_64/fat $asm_path"
OPT_NETTLE_SOURCES="fat-x86_64.c $OPT_NETTLE_SOURCES"
OPT_NETTLE_SOURCES="fat-x86_64.c $OPT_NETTLE_SOURCES"
elif test "x$enable_x86_aesni" = xyes ; then
else
asm_path="x86_64/aesni $asm_path"
if test "x$enable_x86_aesni" = xyes ; then
asm_path="x86_64/aesni $asm_path"
fi
if test "x$enable_x86_sha_ni" = xyes ; then
asm_path="x86_64/sha_ni $asm_path"
fi
fi
fi
else
else
asm_path=x86
asm_path=x86
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment