ports/sysutils/pefs-kmod/files/patch-pefs_aesni.h
Sofian Brabez 48135da34d 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)
2011-09-01 14:21:11 +00:00

17 lines
272 B
C

--- 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