From 2d70c8c6d01c50ebee59907eeeeb3eed4b630767 Mon Sep 17 00:00:00 2001 From: Gian Demarmels Date: Thu, 6 Jan 2022 16:24:50 +0100 Subject: secmod CS sign implementation --- src/include/taler_crypto_lib.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/include/taler_crypto_lib.h') 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); -- cgit v1.2.3