projects
/
platform
/
upstream
/
cryptsetup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix hex_to_bytes and add it to common utils.
[platform/upstream/cryptsetup.git]
/
src
/
cryptsetup.h
diff --git
a/src/cryptsetup.h
b/src/cryptsetup.h
index
784c521
..
a966f81
100644
(file)
--- a/
src/cryptsetup.h
+++ b/
src/cryptsetup.h
@@
-31,6
+31,8
@@
#include "libcryptsetup.h"
+#define CONST_CAST(x) (x)(uintptr_t)
+
#define DEFAULT_CIPHER(type) (DEFAULT_##type##_CIPHER "-" DEFAULT_##type##_MODE)
#define log_dbg(x...) clogger(NULL, CRYPT_LOG_DEBUG, __FILE__, __LINE__, x)