projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d48bf7
)
Document password callback.
author
Milan Broz
<gmazyland@gmail.com>
Wed, 5 Jan 2011 16:59:42 +0000
(16:59 +0000)
committer
Milan Broz
<gmazyland@gmail.com>
Wed, 5 Jan 2011 16:59:42 +0000
(16:59 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@412
36d66b0a
-2a48-0410-832c-
cd162a569da5
lib/libcryptsetup.h
patch
|
blob
|
history
diff --git
a/lib/libcryptsetup.h
b/lib/libcryptsetup.h
index
abedba2
..
872dd1d
100644
(file)
--- a/
lib/libcryptsetup.h
+++ b/
lib/libcryptsetup.h
@@
-85,6
+85,9
@@
void crypt_set_confirm_callback(struct crypt_device *cd,
* @buf - buffer for password
* @length - size of buffer
*
+ * Calback should return length of password in buffer
+ * or negative errno value in case of error.
+ *
* - Note that if this function is defined, verify option is ignored
* (caller which provided callback is responsible for password verification)
* - Only zero terminated passwords can be entered this way, for complex