diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-29 17:34:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-29 17:34:37 +0100 |
commit | 41e1dd9738a58ffce765d5f837c32962907707df (patch) | |
tree | b5504190c535578a53ef3b1f6768a74150e3dc33 /src/include/taler_crypto_lib.h | |
parent | 1e3e6fa5990eb2504a69279039ee776a19ff1ec2 (diff) | |
download | exchange-41e1dd9738a58ffce765d5f837c32962907707df.tar.xz |
finish cleanup of /refresh/commit parsing
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r-- | src/include/taler_crypto_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 597c85cdd..3b4f0d8c5 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -204,5 +204,17 @@ TALER_refresh_encrypt (const struct TALER_RefreshLinkDecrypted *input, const struct TALER_LinkSecret *secret); +/** + * Decode encrypted refresh link information from buffer. + * + * @param buf buffer with refresh link data + * @param buf_len number of bytes in @a buf + * @return NULL on error (@a buf_len too small) + */ +struct TALER_RefreshLinkEncrypted * +TALER_refresh_link_encrypted_decode (const char *buf, + size_t buf_len); + + #endif |