mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
Export crypt_keyfile_read().
This commit is contained in:
@@ -1225,6 +1225,16 @@ void crypt_set_debug_level(int level);
|
|||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Read keyfile
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
int crypt_keyfile_read(struct crypt_device *cd,
|
||||||
|
const char *keyfile,
|
||||||
|
char **key, size_t *key_size_read,
|
||||||
|
size_t keyfile_offset,
|
||||||
|
size_t keyfile_size_max);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ CRYPTSETUP_1.0 {
|
|||||||
|
|
||||||
crypt_header_backup;
|
crypt_header_backup;
|
||||||
crypt_header_restore;
|
crypt_header_restore;
|
||||||
|
|
||||||
|
crypt_keyfile_read;
|
||||||
local:
|
local:
|
||||||
*;
|
*;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user