freebsd-skq/sys/geom/eli
pjd 2a7268cfd4 md_hash field in g_eli_metadata structure is not 4 byte aligned, which
case panic on sparc64.

The problem is in MD5(9) implementation. The Encode() function takes
'unsigned char *output' as its first argument, which is then assigned to
'u_int32_t *op'. If the 'output' argument is not 4 byte aligned (and in
geli(8) case it is not), sparc64 machine will panic.

I don't know how to fix MD5(9) in a clean way, so I'm implementing a
work-around in geli(8).

Reported by:	brueffer
MFC after:	3 days
2006-03-30 14:41:13 +00:00
..
g_eli_crypto.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
g_eli_ctl.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
g_eli_key.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
g_eli.c Teach geli how to load keyfiles before root file system is mounted. 2006-02-11 13:08:24 +00:00
g_eli.h md_hash field in g_eli_metadata structure is not 4 byte aligned, which 2006-03-30 14:41:13 +00:00
pkcs5v2.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
pkcs5v2.h Remove trailing spaces. 2006-02-01 12:06:01 +00:00