summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-01-06 16:24:50 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:34:21 +0100
commit2d70c8c6d01c50ebee59907eeeeb3eed4b630767 (patch)
treeb7ffdd4ea8aeb7cc4dfda575e794dbf48c3dd678 /src/include
parent82405b0ce5593b30a1b0ee1a1995f2214a71751c (diff)
downloadexchange-2d70c8c6d01c50ebee59907eeeeb3eed4b630767.tar.gz
exchange-2d70c8c6d01c50ebee59907eeeeb3eed4b630767.tar.bz2
exchange-2d70c8c6d01c50ebee59907eeeeb3eed4b630767.zip
secmod CS sign implementation
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_crypto_lib.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 295d0e7be..c0e96427e 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -1784,9 +1784,8 @@ TALER_CRYPTO_helper_cs_poll (struct TALER_CRYPTO_CsDenominationHelper *dh);
* differences in the signature counters. Retrying in this case may work.
*
* @param dh helper process connection
- * @param h_rsa hash of the RSA public key to use to sign
- * @param msg message to sign
- * @param msg_size number of bytes in @a msg
+ * @param h_cs hash of the CS public key to use to sign
+ * @param blinded_planchet blinded planchet containing c and nonce
* @param[out] ec set to the error code (or #TALER_EC_NONE on success)
* @return signature, the value inside the structure will be NULL on failure,
* see @a ec for details about the failure
@@ -1795,8 +1794,7 @@ struct TALER_BlindedDenominationSignature
TALER_CRYPTO_helper_cs_sign (
struct TALER_CRYPTO_CsDenominationHelper *dh,
const struct TALER_CsPubHashP *h_cs,
- const void *msg,
- size_t msg_size,
+ const struct TALER_BlindedCsPlanchet *blinded_planchet,
enum TALER_ErrorCode *ec);