diff options
author | phk <phk@FreeBSD.org> | 2002-11-04 09:27:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-11-04 09:27:01 +0000 |
commit | 16874ad9231c653cc0923d057079cb01dc655144 (patch) | |
tree | f63c9d7688c826251a2cc69a8cbf9eace1f02f75 /sbin/gbde/Makefile | |
parent | 8f58d0f543eb1d2ede1aa0736e9fe5e958cba1d6 (diff) | |
download | FreeBSD-src-16874ad9231c653cc0923d057079cb01dc655144.zip FreeBSD-src-16874ad9231c653cc0923d057079cb01dc655144.tar.gz |
Run a revision on the GBDE encryption facility.
Replace ARC4 with SHA2-512.
Change lock-structure encoding to use random ordering rather for obscurity.
Encrypt lock-structure with AES/256 instead of AES/128.
Change kkey derivation to be MD5 hash based.
Watch for malloc(M_NOWAIT) failures and ditch our cache when they happen.
Remove clause 3 of the license with NAI Labs consent.
Many thanks to "Lucky Green" <shamrock@cypherpunks.to> and "David
Wagner" <daw@cs.berkeley.edu>, for code reading, inputs and
suggestions.
This code has still not been stared at for 10 years by a gang of
hard-core cryptographers. Discretion advised.
NB: These changes result in the on-disk format changing: dump/restore needed.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sbin/gbde/Makefile')
-rw-r--r-- | sbin/gbde/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/gbde/Makefile b/sbin/gbde/Makefile index 87488e0..906f196 100644 --- a/sbin/gbde/Makefile +++ b/sbin/gbde/Makefile @@ -5,11 +5,14 @@ SRCS= gbde.c template.c SRCS+= geom_enc.c SRCS+= rijndael-alg-fst.c SRCS+= rijndael-api-fst.c +SRCS+= sha2.c SRCS+= g_bde_lock.c CFLAGS+= -I${.CURDIR}/../../sys -.PATH: ${.CURDIR}/../../sys/geom ${.CURDIR}/../../sys/geom/bde \ - ${.CURDIR}/../../sys/crypto/rijndael +.PATH: ${.CURDIR}/../../sys/geom \ + ${.CURDIR}/../../sys/geom/bde \ + ${.CURDIR}/../../sys/crypto/rijndael \ + ${.CURDIR}/../../sys/crypto/sha2 CLEANFILES+= template.c |