diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-21 17:12:20 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-21 17:12:20 +0200 |
| commit | b29f4153e83623f24bebe99976e1368ef31bb008 (patch) | |
| tree | 65473709df1194a2f9277dc5fb47add5e41430c0 /librecrypt.7 | |
| parent | Add (so far untested and undocument) support for pepper (diff) | |
| download | librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.gz librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.bz2 librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.xz | |
Add support for custom hash functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | librecrypt.7 | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/librecrypt.7 b/librecrypt.7 index 8abf6d7..caf7eda 100644 --- a/librecrypt.7 +++ b/librecrypt.7 @@ -78,7 +78,7 @@ Generate a password hash settings string. Realise asterisk-encoded random salts in a settings string. .sp -.SS Secure application helper functions: +.SS Application helper functions: .TP .BR librecrypt_equal (3) Compare strings in constant time. @@ -91,6 +91,9 @@ Securely erase a memory buffer. .TP .BR librecrypt_wipe_str (3) Securely erase a string. +.TP +.BR librecrypt_scan_settings "(3) (ADVANCED)" +Parse and validate a password hash string. .sp .SS Password hash string decomposition functions (ADVANCED): .TP @@ -126,10 +129,35 @@ binary. Get encoding alphabet for the last algorithm in a chain. .sp -.SS Library introspection functions (ADVANCED): +.SS Library introspection (ADVANCED): +.TP .BR librecrypt_is_enabled (3) Check whenther the library is compiled with support for a specific hash algorithm. +.TP +.BR librecrypt_hash_algorithm_end (3) +Number of hash algorithms the linked library knows +about. +.sp +.SS Library tweaking functions (ADVANCED): +.TP +.BR librecrypt_create_context (3) +Create a library configuration object. +.TP +.BR librecrypt_free_context (3) +Deallocate a library configuration object. +.TP +.BR librecrypt_set_pepper (3) +Set the pepper to use for a hash algorithm. +.TP +.BR librecrypt_set_custom_algorithms (3) +Set application-provided hash algorithms. +.TP +.BR librecrypt_set_user_data (3) +Set application-defined data. +.TP +.BR librecrypt_get_user_data (3) +Retrieve application-defined data. .SH NOTES Using |
