summaryrefslogtreecommitdiff
path: root/sysutils/pefs-kmod/files/patch-pefs_aesni.h
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2011-09-01 14:21:11 +0000
committerSofian Brabez <sbz@FreeBSD.org>2011-09-01 14:21:11 +0000
commit48135da34d21ff12a2b5fb1c6b9fc25700886d59 (patch)
tree7485033411da07965b3a8538311a203f52275928 /sysutils/pefs-kmod/files/patch-pefs_aesni.h
parent- Update to 0.8.1 (diff)
PEFS is a kernel level stacked cryptographic filesystem for FreeBSD.
Key features: * Transparently runs on top of existing file systems * Random per file tweak value for encryption * Stores metadata only in encrypted file name * Arbitrary number of keys per file system, mixing keys in same directory and key chains * Modern cryptographic algorithms: AES and Camellia in XTS mode, PKCS#5v2 and HKDF for key generation. WWW: http://github.com/glk/pefs WWW: http://wiki.freebsd.org/PEFS PR: ports/156002 Submitted by: Gleb Kurtsou <gk@freebsd.org> Approved by: jadawin@ (mentor)
Notes
Notes: svn path=/head/; revision=280980
Diffstat (limited to 'sysutils/pefs-kmod/files/patch-pefs_aesni.h')
-rw-r--r--sysutils/pefs-kmod/files/patch-pefs_aesni.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/pefs-kmod/files/patch-pefs_aesni.h b/sysutils/pefs-kmod/files/patch-pefs_aesni.h
new file mode 100644
index 000000000000..1a81f9cff34b
--- /dev/null
+++ b/sysutils/pefs-kmod/files/patch-pefs_aesni.h
@@ -0,0 +1,17 @@
+--- sys/fs/pefs/pefs_aesni.h.orig
++++ sys/fs/pefs/pefs_aesni.h
+@@ -26,6 +26,8 @@
+ * $FreeBSD$
+ */
+
++#ifdef PEFS_AESNI
++
+ #include <crypto/aesni/aesni.h>
+
+ struct pefs_aesni_ctx {
+@@ -41,3 +43,5 @@ struct pefs_aesni_ses {
+ };
+
+ algop_init_t pefs_aesni_init;
++
++#endif