Home | History | Annotate | Download | only in dropbear

Lines Matching refs:rsakey

41 	ret->rsakey = NULL;
124 rsa_key_free(key->rsakey);
125 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key));
126 ret = buf_get_rsa_pub_key(buf, key->rsakey);
128 m_free(key->rsakey);
177 rsa_key_free(key->rsakey);
178 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key));
179 ret = buf_get_rsa_priv_key(buf, key->rsakey);
181 m_free(key->rsakey);
207 buf_put_rsa_pub_key(pubkeys, key->rsakey);
237 buf_put_rsa_priv_key(buf, key->rsakey);
254 rsa_key_free(key->rsakey);
255 key->rsakey = NULL;
371 buf_put_rsa_sign(sigblob, key->rsakey, data, len);
417 if (key->rsakey == NULL) {
420 return buf_rsa_verify(buf, key->rsakey, data, len);