summaryrefslogtreecommitdiff
path: root/modules/crypto
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2018-04-28 15:32:57 +0200
committerBruno Haible <bruno@clisp.org>2018-05-05 14:36:30 +0200
commit833bb2f5a5acc8d0958051acfe102f771ba89fc9 (patch)
treed15de5738ef98a20f59b18124eb6a835babd0fc0 /modules/crypto
parentcb08dad26c3de67a3c1b3d233fb8934444357093 (diff)
downloadgnulib-833bb2f5a5acc8d0958051acfe102f771ba89fc9.tar.gz
sha512sum: use kernel crypto API
Use AF_ALG for sha384 and sha512 too Signed-off-by: Matteo Croce <mcroce@redhat.com>
Diffstat (limited to 'modules/crypto')
-rw-r--r--modules/crypto/sha5126
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/crypto/sha512 b/modules/crypto/sha512
index 4c97604cde..6d0dd1019a 100644
--- a/modules/crypto/sha512
+++ b/modules/crypto/sha512
@@ -5,8 +5,11 @@ Files:
lib/gl_openssl.h
lib/sha512.h
lib/sha512.c
+lib/af_alg.h
+lib/af_alg.c
m4/gl-openssl.m4
m4/sha512.m4
+m4/linux-if-alg.m4
Depends-on:
extern-inline
@@ -16,9 +19,10 @@ u64
configure.ac:
gl_SHA512
+gl_LINUX_IF_ALG_H
Makefile.am:
-lib_SOURCES += sha512.c
+lib_SOURCES += sha512.c af_alg.c
Include:
"sha512.h"