dm_target_crypt - Fix a number of bugs
authorAlex Hornung <ahornung@gmail.com>
Sun, 22 Aug 2010 10:57:40 +0000 (11:57 +0100)
committerAlex Hornung <ahornung@gmail.com>
Sun, 22 Aug 2010 10:59:54 +0000 (11:59 +0100)
commit48a0340e05e391934a718c3d101ddab92bb98e14
tree8e0668dd83c0deca2516af9f3cc721ef6785d03b
parent89c9342a7012c490ab55ee617ada4528dd5f194d
dm_target_crypt - Fix a number of bugs

* Fix several bugs causing panics when the initialization failed but the
  uninit code is called anyways.

* Adjust ESSIV constructor to be 100% compatible with Linux.

* Most problems were found running cryptsetup compat-test.
sys/dev/disk/dm/dm_target_crypt.c