mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
e9551b12f8
On commonly used platform libcrypto uses architecture-specific assembly code, which is significantly faster than the C code we were using. See Pádraig Brady's note in <http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00000.html>. Merge from gnulib, incorporating: 2013-12-07 md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT 2013-12-07 md5, sha1, sha256, sha512: add 'auto', and set-default method 2013-12-04 include_next: minimize code duplication 2013-12-03 md5, sha1, sha256, sha512: support mandating use of openssl 2013-12-02 md5, sha1, sha256, sha512: use openssl routines if available * configure.ac (--without-all): Set with_openssl_default too. Use gl_SET_CRYPTO_CHECK_DEFAULT to default to 'auto'. (HAVE_LIB_CRYPTO): New var. Say whether Emacs is configured to use a crypto library. * lib/gl_openssl.h, m4/absolute-header.m4, m4/gl-openssl.m4: New files, copied from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h: * lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h: * m4/include_next.m4, m4/md5.m4, m4/sha1.m4, m4/sha256.m4, m4/sha512.m4: Update from gnulib. * src/Makefile.in (LIB_CRYPTO): New macro. (LIBES): Use it. |
||
---|---|---|
.. | ||
00gnulib.m4 | ||
absolute-header.m4 | ||
acl.m4 | ||
alloca.m4 | ||
byteswap.m4 | ||
c-strtod.m4 | ||
clock_time.m4 | ||
close-stream.m4 | ||
count-one-bits.m4 | ||
count-trailing-zeros.m4 | ||
dirent_h.m4 | ||
dup2.m4 | ||
environ.m4 | ||
errno_h.m4 | ||
euidaccess.m4 | ||
execinfo.m4 | ||
extensions.m4 | ||
extern-inline.m4 | ||
faccessat.m4 | ||
fcntl_h.m4 | ||
fcntl.m4 | ||
fdatasync.m4 | ||
fdopendir.m4 | ||
filemode.m4 | ||
fpending.m4 | ||
fstatat.m4 | ||
fsync.m4 | ||
getdtablesize.m4 | ||
getgroups.m4 | ||
getloadavg.m4 | ||
getopt.m4 | ||
gettime.m4 | ||
gettimeofday.m4 | ||
gl-openssl.m4 | ||
gnulib-common.m4 | ||
gnulib-comp.m4 | ||
gnulib-tool.m4 | ||
group-member.m4 | ||
include_next.m4 | ||
inttypes.m4 | ||
largefile.m4 | ||
longlong.m4 | ||
lstat.m4 | ||
manywarnings.m4 | ||
md5.m4 | ||
memrchr.m4 | ||
mkostemp.m4 | ||
mktime.m4 | ||
multiarch.m4 | ||
nocrash.m4 | ||
off_t.m4 | ||
pathmax.m4 | ||
pipe2.m4 | ||
pselect.m4 | ||
pthread_sigmask.m4 | ||
putenv.m4 | ||
readlink.m4 | ||
readlinkat.m4 | ||
secure_getenv.m4 | ||
setenv.m4 | ||
sha1.m4 | ||
sha256.m4 | ||
sha512.m4 | ||
sig2str.m4 | ||
signal_h.m4 | ||
socklen.m4 | ||
ssize_t.m4 | ||
st_dm_mode.m4 | ||
stat-time.m4 | ||
stat.m4 | ||
stdalign.m4 | ||
stdarg.m4 | ||
stdbool.m4 | ||
stddef_h.m4 | ||
stdint.m4 | ||
stdio_h.m4 | ||
stdlib_h.m4 | ||
strftime.m4 | ||
string_h.m4 | ||
strtoimax.m4 | ||
strtoll.m4 | ||
strtoull.m4 | ||
strtoumax.m4 | ||
symlink.m4 | ||
sys_select_h.m4 | ||
sys_socket_h.m4 | ||
sys_stat_h.m4 | ||
sys_time_h.m4 | ||
sys_types_h.m4 | ||
tempname.m4 | ||
time_h.m4 | ||
time_r.m4 | ||
timer_time.m4 | ||
timespec.m4 | ||
tm_gmtoff.m4 | ||
unistd_h.m4 | ||
utimbuf.m4 | ||
utimens.m4 | ||
utimes.m4 | ||
warnings.m4 | ||
wchar_t.m4 |