mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Silent crypt_volume_key_verify call.
And moves the error message in tools instead.
This commit is contained in:
committed by
Milan Broz
parent
c67db10c22
commit
cc107ee20e
@@ -1486,6 +1486,10 @@ int crypt_volume_key_get(struct crypt_device *cd,
|
||||
* @param volume_key_size size of @e volume_key
|
||||
*
|
||||
* @return @e 0 on success or negative errno value otherwise.
|
||||
*
|
||||
* @note Negative EPERM return value means that passed volume_key
|
||||
* did not pass digest verification routine (not a valid volume
|
||||
* key).
|
||||
*/
|
||||
int crypt_volume_key_verify(struct crypt_device *cd,
|
||||
const char *volume_key,
|
||||
|
||||
Reference in New Issue
Block a user