|
@@ -325,7 +325,6 @@ int fscrypt_get_encryption_info(struct inode *inode)
|
|
|
goto out;
|
|
goto out;
|
|
|
}
|
|
}
|
|
|
crypt_info->ci_ctfm = ctfm;
|
|
crypt_info->ci_ctfm = ctfm;
|
|
|
- crypto_skcipher_clear_flags(ctfm, ~0);
|
|
|
|
|
crypto_skcipher_set_flags(ctfm, CRYPTO_TFM_REQ_WEAK_KEY);
|
|
crypto_skcipher_set_flags(ctfm, CRYPTO_TFM_REQ_WEAK_KEY);
|
|
|
/*
|
|
/*
|
|
|
* if the provided key is longer than keysize, we use the first
|
|
* if the provided key is longer than keysize, we use the first
|