TCRYPT: support keyfiles

This commit is contained in:
Milan Broz
2012-11-16 14:57:05 +01:00
parent 3cbb43a73a
commit ecf993834c
6 changed files with 108 additions and 34 deletions

View File

@@ -395,6 +395,8 @@ struct crypt_params_verity {
struct crypt_params_tcrypt {
const char *passphrase;
size_t passphrase_size;
const char **keyfiles;
unsigned int keyfiles_count;
const char *hash_name; /**< hash function for PBKDF */
const char *cipher[3]; /**< cipher chain */
const char *mode; /**< cipher block mode */