summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-20 19:28:33 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-27 11:41:44 +0100
commiteae9fb128c398d421342498a1e5ca1a70ee3885b (patch)
treea8c5db87d136a9ff78a4979114340234882bb1ed /lib/crypto-backend.h
parenta9b4e30ccdd072689642ef37e3b142fda92bd928 (diff)
downloadgnutls-eae9fb128c398d421342498a1e5ca1a70ee3885b.tar.gz
Use nettle for the generation of DH group parameters.
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 6472d2ef37..89cb239f0b 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -85,12 +85,6 @@ typedef struct gnutls_crypto_rnd {
typedef void *bigint_t;
-typedef struct {
- bigint_t g; /* group generator */
- bigint_t p; /* prime */
- int q_bits; /* the number of bits of q */
-} gnutls_group_st;
-
/**
* gnutls_bigint_format_t:
* @GNUTLS_MPI_FORMAT_USG: Raw unsigned integer format.
@@ -160,8 +154,6 @@ typedef struct gnutls_crypto_bigint {
const bigint_t b);
/* 0 if prime */
int (*bigint_prime_check) (const bigint_t pp);
- int (*bigint_generate_group) (gnutls_group_st * gg,
- unsigned int bits);
/* reads a bigint from a buffer */
/* stores a bigint into the buffer. returns