summaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-13 12:39:10 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-13 12:39:10 +0100
commitf2eba7b8b7d1200ca653b2da17fefb4cdd7b432c (patch)
tree2179e163b7baf11ead6c4962da6599e43b0894ec /src/include/taler_crypto_lib.h
parentd8bbbb885af2d53a5c71807faef1abd5573ab37e (diff)
downloadexchange-f2eba7b8b7d1200ca653b2da17fefb4cdd7b432c.tar.gz
exchange-f2eba7b8b7d1200ca653b2da17fefb4cdd7b432c.tar.bz2
exchange-f2eba7b8b7d1200ca653b2da17fefb4cdd7b432c.zip
implement TALER_CRYPTO_helper_rsa_batch_sign
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 7a056376f..b0d6cbf28 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -2352,6 +2352,11 @@ TALER_CRYPTO_helper_rsa_sign (
* that it created the signature. Thus, signals may result in a small
* differences in the signature counters. Retrying in this case may work.
*
+ * Note that in case of errors, the @a bss array may still have been partially
+ * filled with signatures, which in this case must be freed by the caller
+ * (this is in contrast to the #TALER_CRYPTO_helper_rsa_sign() API which never
+ * returns any signatures if there was an error).
+ *
* @param dh helper process connection
* @param rsrs array with details about the requested signatures
* @param rsrs_length length of the @a rsrs array