freebsd-skq/sys/geom/eli
Allan Jude d873662594 Create the GELIBOOT GEOM_ELI flag
This flag indicates that the user wishes to use the GELIBOOT feature to boot from a fully encrypted root file system.
Currently, GELIBOOT does not support key files, and in the future when it does, they will be loaded differently.
Due to the design of GELI, and the desire for secrecy, the GELI metadata does not know if key files are used or not, it just adds the key material (if any) to the HMAC before the optional passphrase, so there is no way to tell if a GELI partition requires key files or not.

Since the GELIBOOT code in boot2 and the loader does not support keys, they will now only attempt to attach if this flag is set. This will stop GELIBOOT from prompting for passwords to GELIs that it cannot decrypt, disrupting the boot process

PR:		208251
Reviewed by:	ed, oshogbo, wblock
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D5867
2016-04-08 01:25:25 +00:00
..
g_eli_crypto.c Make additional parts of sys/geom/eli more usable in userspace 2016-01-07 05:47:34 +00:00
g_eli_ctl.c Create the GELIBOOT GEOM_ELI flag 2016-04-08 01:25:25 +00:00
g_eli_hmac.c Make additional parts of sys/geom/eli more usable in userspace 2016-01-07 05:47:34 +00:00
g_eli_integrity.c After crypto_dispatch() bio might be already delivered and destroyed, 2015-08-06 17:13:34 +00:00
g_eli_key_cache.c Make additional parts of sys/geom/eli more usable in userspace 2016-01-07 05:47:34 +00:00
g_eli_key.c
g_eli_privacy.c After crypto_dispatch() bio might be already delivered and destroyed, 2015-08-06 17:13:34 +00:00
g_eli.c Create the GELIBOOT GEOM_ELI flag 2016-04-08 01:25:25 +00:00
g_eli.h Create the GELIBOOT GEOM_ELI flag 2016-04-08 01:25:25 +00:00
pkcs5v2.c Make additional parts of sys/geom/eli more usable in userspace 2016-01-07 05:47:34 +00:00
pkcs5v2.h