grub/util
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
..
elf 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
grub.d 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
i386 2010-01-05 Robert Millan <rmh.grub@aybabtu.com> 2010-01-05 00:31:07 +00:00
ieee1275 2009-12-19 Vladimir Serbinenko <phcoder@gmail.com> 2009-12-20 14:09:16 +01:00
mkisofs 2010-01-05 Colin Watson <cjwatson@ubuntu.com> 2010-01-05 16:09:02 +00:00
powerpc/ieee1275 2009-11-11 Colin Watson <cjwatson@ubuntu.com> 2009-11-11 23:21:13 +00:00
sparc64/ieee1275 2010-01-05 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-05 18:24:10 +01:00
console.c 2009-07-07 Pavel Roskin <proski@gnu.org> 2009-07-07 20:03:03 +00:00
deviceiter.c 2009-07-29 Felix Zielcke <fzielcke@z-51.de> 2009-07-29 14:11:50 +00:00
devicemap.c * util/sparc64/ieee1275/misc.c: New file. 2009-04-22 09:57:39 +00:00
getroot.c 2009-12-23 Felix Zielcke <fzielcke@z-51.de> 2009-12-23 17:41:32 +01:00
grub-editenv.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
grub-emu.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
grub-fstest.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
grub-install.in 2009-12-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-12-25 23:06:52 +01:00
grub-macho2img.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-mkconfig.in 2009-12-12 Robert Millan <rmh@aybabtu.com> 2009-12-12 00:43:32 +00:00
grub-mkconfig_lib.in 2009-12-23 Felix Zielcke <fzielcke@z-51.de> 2009-12-23 17:41:32 +01:00
grub-mkdevicemap.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
grub-mkfont.c 2010-01-06 Vladimir Serbinenko <phcoder@gmail.com> 2010-01-06 23:25:57 +01:00
grub-mkpasswd-pbkdf2.c fix mismerge with trunk (progname) 2009-12-05 18:59:36 +01:00
grub-mkrelpath.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
grub-mkrescue.in 2009-12-22 Felix Zielcke <fzielcke@z-51.de> 2009-12-22 18:20:27 +01:00
grub-pe2elf.c 2009-11-26 Robert Millan <rmh.grub@aybabtu.com> 2009-11-25 23:10:02 +00:00
grub-probe.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
hostdisk.c 2009-12-25 Felix Zielcke <fzielcke@z-51.de> 2009-12-25 18:29:17 +01:00
hostfs.c 2010-01-03 Robert Millan <rmh.grub@aybabtu.com> 2010-01-03 22:05:07 +00:00
import_gcry.py eliminate dead code and data in des.c 2009-12-23 19:58:33 +01:00
lvm.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
misc.c 2009-01-01 Yves Blusseau <yves.blusseau@zetam.org> 2010-01-01 21:32:30 +01:00
pci.c Merge pciaccess branch 2009-12-11 21:12:57 +00:00
raid.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
resolve.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00
usb.c 2009-07-16 Vladimir Serbinenko <phcoder@gmail.com> 2009-07-16 15:36:43 +00:00