TCRYPT: implement (most of) legacy modes support.

This commit is contained in:
Milan Broz
2012-11-18 18:31:17 +01:00
parent ecf993834c
commit 911ffe81f0
4 changed files with 171 additions and 56 deletions

View File

@@ -2049,7 +2049,7 @@ int crypt_activate_by_volume_key(struct crypt_device *cd,
}
} else if (isTCRYPT(cd->type)) {
if (!name)
return -EINVAL;
return 0;
r = TCRYPT_activate(cd, name, &cd->tcrypt_hdr,
&cd->tcrypt_params, flags);
} else