Remove no passphrase error message from library.

And move it to tools.

This will unify LUKS1/2 error messages.
This commit is contained in:
Milan Broz
2018-03-25 14:14:37 +02:00
parent 610c7858d6
commit af0887fb48
7 changed files with 32 additions and 22 deletions

View File

@@ -87,6 +87,7 @@ int tools_get_key(const char *prompt,
const char *key_file,
int timeout, int verify, int pwquality,
struct crypt_device *cd);
void tools_passphrase_msg(int r);
int tools_is_stdin(const char *key_file);
int tools_string_to_size(struct crypt_device *cd, const char *s, uint64_t *size);
int tools_is_cipher_null(const char *cipher);