grub/commands
Vladimir 'phcoder' Serbinenko 607a3701db 2010-01-07 Vladimir Serbinenko <phcoder@gmail.com>
Merge crypto branch.

	* Makefile.in (pkglib_DATA):  Add crypto.lst.
	(crypto.lst): New target.
	* commands/hashsum.c: New file.
	* commands/password.c (check_password): Use grub_crypto_memcmp.
	* commands/password_pbkdf2.c: New file.
	* commands/xnu_uuid.c: Remove MD5. Use GRUB_MD_MD5.
	* conf/any-emu.rmk (grub_emu_SOURCES): Add lib/crypto.c,
	normal/crypto.c and lib/libgcrypt-grub/cipher/md5.c.
	(grub_emu_CFLAGS): Add -Wno-missing-field-initializers -Wno-error
	-I$(srcdir)/lib/libgcrypt_wrap.
	* conf/common.rmk (normal_mod_SOURCES): Add normal/crypto.c.
	(pkglib_MODULES): Add crypto.mod, hashsum.mod, pbkdf2.mod and
	password_pbkdf2.mod.
	(crypto_mod_SOURCES): New variable.
	(crypto_mod_CFLAGS): Likewise.
	(crypto_mod_LDFLAGS): Likewise.
	(hashsum_mod_SOURCES): New variable.
	(hashsum_mod_CFLAGS): Likewise.
	(hashsum_mod_LDFLAGS): Likewise.
	(pbkdf2_mod_SOURCES): New variable.
	(pbkdf2_mod_CFLAGS): Likewise.
	(pbkdf2_mod_LDFLAGS): Likewise.
	(password_pbkdf2_mod_SOURCES): New variable.
	(password_pbkdf2_mod_CFLAGS): Likewise.
	(password_pbkdf2_mod_LDFLAGS): Likewise.
	(bin_UTILITIES): Add grub-mkpasswd-pbkdf2.
	(grub_mkpasswd_pbkdf2_SOURCES): New variable.
	(grub_mkpasswd_pbkdf2_CFLAGS): Likewise.
	Include conf/gcry.rmk.
	* include/grub/auth.h: Rewritten.
	* include/grub/crypto.h: New file.
	* include/grub/disk.h (grub_disk_dev_id): Add GRUB_DISK_DEVICE_LUKS_ID.
	* include/grub/normal.h (read_crypto_list): New prototype.
	* lib/crypto.c: New file.
	* lib/libgcrypt_wrap/cipher_wrap.h: Likewise.
	* lib/pbkdf2.c: Likewise.
	* normal/auth.c (grub_auth_strcmp): Removed.
	(grub_iswordseparator): Likewise.
	(grub_auth_strword): Likewise.
	(is_authenticated): Use grub_strword.
	(grub_auth_check_authentication): Use grub_strcmp, grub_password_get
	and grub_strword. Pass entered password to authentication callback.
	* normal/crypto.c: New file.
	* normal/main.c: Call read_crypto_list.
	* util/grub-mkpasswd-pbkdf2.c: New file.
	* util/import_gcry.py: Generate crypto.lst. Add hash blocklen.
2010-01-07 01:13:01 +01:00
..
efi 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:50:51 +01:00
i386 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
ieee1275 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
acpi.c 2010-01-05 Yves Blusseau <blusseau@zetam.org> 2010-01-05 22:04:15 +01:00
blocklist.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
boot.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
cat.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
cmp.c 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
configfile.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
crc.c 2010-01-04 Robert Millan <rmh.grub@aybabtu.com> 2010-01-04 22:47:30 +00:00
date.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
echo.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
extcmd.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
gptsync.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
halt.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
handler.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
hashsum.c hashsum support 2009-12-23 20:31:12 +01:00
hdparm.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
help.c 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
hexdump.c 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
keystatus.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
loadenv.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:50:51 +01:00
ls.c 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
lsmmap.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
lspci.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
memrw.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
minicmd.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
parttool.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
password.c 2010-01-07 Vladimir Serbinenko <phcoder@gmail.com> 2010-01-07 01:13:01 +01:00
password_pbkdf2.c Use dedicated simple password retriever for size of future crypto disks modules and simplify entering passwords routines 2009-12-06 20:11:50 +01:00
probe.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
read.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
reboot.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
search.c 2010-01-06 Carles Pina i Estany <carles@pina.cat> 2010-01-06 21:36:34 +00:00
search_file.c 2010-01-06 Carles Pina i Estany <carles@pina.cat> 2010-01-06 21:36:34 +00:00
search_label.c 2010-01-06 Carles Pina i Estany <carles@pina.cat> 2010-01-06 21:36:34 +00:00
search_uuid.c 2010-01-06 Carles Pina i Estany <carles@pina.cat> 2010-01-06 21:36:34 +00:00
search_wrap.c 2009-12-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-12-25 23:06:52 +01:00
sleep.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
test.c 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
true.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
usbtest.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
videotest.c 2010-01-03 Carles Pina i Estany <carles@pina.cat> 2010-01-03 19:24:22 +01:00
xnu_uuid.c 2010-01-07 Vladimir Serbinenko <phcoder@gmail.com> 2010-01-07 01:13:01 +01:00