summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2016-01-07 05:47:34 +0000
committerallanjude <allanjude@FreeBSD.org>2016-01-07 05:47:34 +0000
commit19cde117cfd900d0b049c480d6f9b7629181447d (patch)
tree3dee209dce2cba23281f42b63e0a9028867952ff /sbin
parent57f950f66144ba13aa49313465c1a278e1268cbc (diff)
downloadFreeBSD-src-19cde117cfd900d0b049c480d6f9b7629181447d.zip
FreeBSD-src-19cde117cfd900d0b049c480d6f9b7629181447d.tar.gz
Make additional parts of sys/geom/eli more usable in userspace
The upcoming GELI support in the loader reuses parts of this code Some ifdefs are added, and some code is moved outside of existing ifdefs The HMAC parts of GELI are broken out into their own file, to separate them from the kernel crypto/openssl dependant parts that are replaced in the boot code. Passed the GELI regression suite (tools/regression/geom/eli) Files=20 Tests=14996 Result: PASS Reviewed by: pjd, delphij MFC after: 1 week Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4699
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/class/eli/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/geom/class/eli/Makefile b/sbin/geom/class/eli/Makefile
index 50de651..5eff32c 100644
--- a/sbin/geom/class/eli/Makefile
+++ b/sbin/geom/class/eli/Makefile
@@ -4,6 +4,7 @@
GEOM_CLASS= eli
SRCS= g_eli_crypto.c
+SRCS+= g_eli_hmac.c
SRCS+= g_eli_key.c
SRCS+= pkcs5v2.c
SRCS+= sha256c.c
OpenPOWER on IntegriCloud