Skip to content

Commit cba1569

Browse files
committed
fix tomcrypt_pk.h
1 parent a0257df commit cba1569

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/headers/tomcrypt_pk.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -205,25 +205,12 @@ typedef struct {
205205
int dh_get_groupsize(dh_key *key);
206206

207207
int dh_make_key(prng_state *prng, int wprng, int groupsize, dh_key *key);
208-
int dh_make_key_ex(prng_state *prng, int wprng, int radix,
209-
void *prime, unsigned long primelen,
210-
void *base, unsigned long baselen,
211-
dh_key *key);
212208
int dh_make_key_dhparam(prng_state *prng, int wprng, unsigned char *dhparam, unsigned long dhparamlen, dh_key *key);
213209
void dh_free(dh_key *key);
214210

215211
int dh_export(unsigned char *out, unsigned long *outlen, int type, dh_key *key);
216212
int dh_import(const unsigned char *in, unsigned long inlen, dh_key *key);
217213

218-
int dh_export_radix(int radix,
219-
void *out, unsigned long *outlen,
220-
int type, dh_key *key);
221-
int dh_import_radix(int radix,
222-
void *in, unsigned long inlen,
223-
void *prime, unsigned long primelen,
224-
void *base, unsigned long baselen,
225-
int type, dh_key *key);
226-
227214
int dh_shared_secret(dh_key *private_key, dh_key *public_key,
228215
unsigned char *out, unsigned long *outlen);
229216

0 commit comments

Comments
 (0)