diff options
| author | Milan Broz <[email protected]> | 2009-12-10 23:51:56 +0000 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2009-12-10 23:51:56 +0000 |
| commit | b95bf2d3d5a48b095bffe2a0cd8c40453cf59557 (patch) | |
| tree | bcb6bdd0e5b67eb0aa2277aac125686bb911950a /include/linux/debugobjects.h | |
| parent | 5861f1be00b3b70f8ab5e5a81392a6cf69666cd2 (diff) | |
dm crypt: separate essiv allocation from initialisation
This patch separates the construction of IV from its initialisation.
(For ESSIV it is a hash calculation based on volume key.)
Constructor code now preallocates hash tfm and salt array
and saves it in a private IV structure.
The next patch requires this to reinitialise the wiped IV
without reallocating memory when resuming a suspended device.
Cc: [email protected]
Signed-off-by: Milan Broz <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions