Export crypt_keyfile_read().

This commit is contained in:
Milan Broz
2015-08-20 09:21:20 +02:00
parent 252cdef110
commit f0986be2e3
2 changed files with 12 additions and 0 deletions

View File

@@ -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
}
#endif

View File

@@ -68,6 +68,8 @@ CRYPTSETUP_1.0 {
crypt_header_backup;
crypt_header_restore;
crypt_keyfile_read;
local:
*;
};