summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-01-26 09:31:42 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-01-26 10:11:30 +0100
commit1a90bc32fe87b2859f302b77619e2fece5c1ad82 (patch)
tree4d95ba6163df5a0165eed5373b149bdb3a060a76 /lib/crypto-backend.h
parent52d140d6ee54544ba01507c75df832e92870f877 (diff)
downloadgnutls-1a90bc32fe87b2859f302b77619e2fece5c1ad82.tar.gz
updated prototypes of _gnutls_mpi_set, _gnutls_mpi_set_ui,, _gnutls_mpi_copy
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index ff798b581c..32c7c3980b 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -116,9 +116,10 @@ typedef struct gnutls_crypto_bigint {
/* r = a % b */
int (*bigint_modm) (bigint_t r, const bigint_t a, const bigint_t b);
/* a = b -> ret == a */
- bigint_t (*bigint_set) (bigint_t a, const bigint_t b);
+ int (*bigint_set) (bigint_t a, const bigint_t b);
+ bigint_t (*bigint_copy) (const bigint_t a);
/* a = b -> ret == a */
- bigint_t (*bigint_set_ui) (bigint_t a, unsigned long b);
+ int (*bigint_set_ui) (bigint_t a, unsigned long b);
unsigned int (*bigint_get_nbits) (const bigint_t a);
/* w = b ^ e mod m */
bigint_t(*bigint_powm) (bigint_t w, const bigint_t b,