remove LTC_{DH,DSA}_KEY_INITIALIZER

This commit is contained in:
Steffen Jaeckel
2017-07-04 10:13:59 +02:00
parent d1ecd82a42
commit dbeaefd65b
10 changed files with 7 additions and 66 deletions
-4
View File
@@ -213,8 +213,6 @@ typedef struct {
void *prime;
} dh_key;
#define LTC_DH_KEY_INITIALIZER { PK_PUBLIC, NULL, NULL, NULL, NULL }
int dh_get_groupsize(dh_key *key);
int dh_export(unsigned char *out, unsigned long *outlen, int type, dh_key *key);
@@ -442,8 +440,6 @@ typedef struct {
void *y;
} dsa_key;
#define LTC_DSA_KEY_INITIALIZER { PK_PUBLIC, 0, NULL, NULL, NULL, NULL, NULL }
int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key);
int dsa_set_pqg(const unsigned char *p, unsigned long plen,