diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-01-26 10:50:24 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-01-26 10:50:24 +0100 |
commit | 92fb8930f60a304558a242f4fe00f33403f2a680 (patch) | |
tree | 4a36d5a697804a177d56002fcbbd71217622a570 /lib/crypto-backend.h | |
parent | 22e488a808fbf51c3d8d09afe9a54430fb28a25b (diff) | |
download | gnutls-92fb8930f60a304558a242f4fe00f33403f2a680.tar.gz |
Updated the rest of the MPI function prototypes.
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r-- | lib/crypto-backend.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h index 42f83635e1..f7267c827c 100644 --- a/lib/crypto-backend.h +++ b/lib/crypto-backend.h @@ -125,22 +125,22 @@ typedef struct gnutls_crypto_bigint { int (*bigint_powm) (bigint_t w, const bigint_t b, const bigint_t e, const bigint_t m); /* w = a + b mod m */ - bigint_t(*bigint_addm) (bigint_t w, const bigint_t a, + int (*bigint_addm) (bigint_t w, const bigint_t a, const bigint_t b, const bigint_t m); /* w = a - b mod m */ - bigint_t(*bigint_subm) (bigint_t w, const bigint_t a, + int (*bigint_subm) (bigint_t w, const bigint_t a, const bigint_t b, const bigint_t m); /* w = a * b mod m */ - bigint_t(*bigint_mulm) (bigint_t w, const bigint_t a, + int (*bigint_mulm) (bigint_t w, const bigint_t a, const bigint_t b, const bigint_t m); - /* w = a + b */ bigint_t(*bigint_add) (bigint_t w, + /* w = a + b */ int (*bigint_add) (bigint_t w, const bigint_t a, const bigint_t b); - /* w = a - b */ bigint_t(*bigint_sub) (bigint_t w, + /* w = a - b */ int (*bigint_sub) (bigint_t w, const bigint_t a, const bigint_t b); /* w = a * b */ - bigint_t(*bigint_mul) (bigint_t w, const bigint_t a, + int (*bigint_mul) (bigint_t w, const bigint_t a, const bigint_t b); /* w = a + b */ int (*bigint_add_ui) (bigint_t w, const bigint_t a, |