cvs commit: src/sys/geom/eli g_eli.c g_eli.h
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Aug 11 19:09:17 UTC 2006
pjd 2006-08-11 19:09:12 UTC
FreeBSD src repository
Modified files:
sys/geom/eli g_eli.c g_eli.h
Log:
Before using byte offset for IV creation, covert it to little endian.
This way one will be able to use provider encrypted on eg. i386 on
eg. sparc64. This doesn't really buy us much today, because UFS isn't
endian agnostic.
We retain backward compatibility by setting G_ELI_FLAG_NATIVE_BYTE_ORDER
flag on devices with version number less than 2 and not converting the
offset.
Revision Changes Path
1.29 +8 -2 src/sys/geom/eli/g_eli.c
1.11 +13 -9 src/sys/geom/eli/g_eli.h
More information about the cvs-src
mailing list