summaryrefslogtreecommitdiff
path: root/lib/utils_crypt.h
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2012-06-25 15:34:11 +0200
committerMilan Broz <gmazyland@gmail.com>2012-06-25 15:34:11 +0200
commitfb3b62ca02013b8526fc0e73bc5c19f737be27fa (patch)
tree131c5d37815b28f7c49b6d19db928efe8a1e5f28 /lib/utils_crypt.h
parentc469e458b717971d1391b9ae3f994cf3cdd05472 (diff)
downloadcryptsetup-fb3b62ca02013b8526fc0e73bc5c19f737be27fa.tar.gz
cryptsetup-fb3b62ca02013b8526fc0e73bc5c19f737be27fa.tar.bz2
cryptsetup-fb3b62ca02013b8526fc0e73bc5c19f737be27fa.zip
Add --device-size option for reencryption tool.
Diffstat (limited to 'lib/utils_crypt.h')
-rw-r--r--lib/utils_crypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils_crypt.h b/lib/utils_crypt.h
index 7c4cb1c..692264f 100644
--- a/lib/utils_crypt.h
+++ b/lib/utils_crypt.h
@@ -44,5 +44,6 @@ void crypt_safe_free(void *data);
void *crypt_safe_realloc(void *data, size_t size);
ssize_t crypt_hex_to_bytes(const char *hex, char **result, int safe_alloc);
+int crypt_string_to_size(struct crypt_device *cd, const char *s, uint64_t *size);
#endif /* _UTILS_CRYPT_H */