diff options
Diffstat (limited to 'src/include/anastasis_crypto_lib.h')
-rw-r--r-- | src/include/anastasis_crypto_lib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/anastasis_crypto_lib.h b/src/include/anastasis_crypto_lib.h index fbafcd6..f824bfe 100644 --- a/src/include/anastasis_crypto_lib.h +++ b/src/include/anastasis_crypto_lib.h @@ -543,3 +543,16 @@ ANASTASIS_CRYPTO_core_secret_recover ( size_t encrypted_core_secret_size, void **core_secret, size_t *core_secret_size); + + +/** + * Convert a @a uuid to a shortened, human-readable string + * useful to show to users to identify the truth. + * Note that the return value is in a global variable and + * only valid until the next invocation of this function. + * + * @param uuid UUID to convert + * @return string representation + */ +const char * +ANASTASIS_CRYPTO_uuid2s (const struct ANASTASIS_CRYPTO_TruthUUIDP *uuid); |