Add new internal crypt_get_cipher_spec.

Add function for getting cipher spec (cipher
and mode) in convenient single string format.
This commit is contained in:
Ondrej Kozina
2018-11-16 16:52:29 +01:00
committed by Milan Broz
parent 2dd4609699
commit bdce4b84d8
3 changed files with 73 additions and 31 deletions

View File

@@ -87,6 +87,7 @@ int verify_pbkdf_params(struct crypt_device *cd,
int crypt_benchmark_pbkdf_internal(struct crypt_device *cd,
struct crypt_pbkdf_type *pbkdf,
size_t volume_key_size);
const char *crypt_get_cipher_spec(struct crypt_device *cd);
/* Device backend */
struct device;