mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 20:20:30 -04:00
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)
17 lines
272 B
C
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
|