Home
last modified time | relevance | path

Searched refs:dss_key (Results 1 – 6 of 6) sorted by relevance

/external/dropbear/
Dgendss.c40 static void getq(dss_key *key);
41 static void getp(dss_key *key, unsigned int size);
42 static void getg(dss_key *key);
43 static void getx(dss_key *key);
44 static void gety(dss_key *key);
46 dss_key * gen_dss_priv_key(unsigned int size) { in gen_dss_priv_key()
48 dss_key *key; in gen_dss_priv_key()
50 key = (dss_key*)m_malloc(sizeof(dss_key)); in gen_dss_priv_key()
71 static void getq(dss_key *key) { in getq()
89 static void getp(dss_key *key, unsigned int size) { in getp()
[all …]
Ddss.h45 typedef struct DSS_key dss_key; typedef
47 void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data,
50 int buf_dss_verify(buffer* buf, dss_key *key, const unsigned char* data,
53 int buf_get_dss_pub_key(buffer* buf, dss_key *key);
54 int buf_get_dss_priv_key(buffer* buf, dss_key *key);
55 void buf_put_dss_pub_key(buffer* buf, dss_key *key);
56 void buf_put_dss_priv_key(buffer* buf, dss_key *key);
57 void dss_key_free(dss_key *key);
Ddss.c46 int buf_get_dss_pub_key(buffer* buf, dss_key *key) { in buf_get_dss_pub_key()
79 int buf_get_dss_priv_key(buffer* buf, dss_key *key) { in buf_get_dss_priv_key()
102 void dss_key_free(dss_key *key) { in dss_key_free()
141 void buf_put_dss_pub_key(buffer* buf, dss_key *key) { in buf_put_dss_pub_key()
153 void buf_put_dss_priv_key(buffer* buf, dss_key *key) { in buf_put_dss_priv_key()
164 int buf_dss_verify(buffer* buf, dss_key *key, const unsigned char* data, in buf_dss_verify()
295 void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data, in buf_put_dss_sign()
Dsignkey.c115 key->dsskey = (dss_key*)m_malloc(sizeof(dss_key)); in buf_get_pub_key()
168 key->dsskey = (dss_key*)m_malloc(sizeof(dss_key)); in buf_get_priv_key()
Dgendss.h32 dss_key * gen_dss_priv_key(unsigned int size);
Dsignkey.h35 dss_key * dsskey;