summaryrefslogtreecommitdiffhomepage
path: root/rsa.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-01 00:19:25 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-01 00:19:25 +0800
commit35f26ff8555c0accbc5b48df0fceebab3a71c54b (patch)
tree7de6c381ae3c68e5803bb62e535136b9f56247cf /rsa.h
parent3d733a16e9ee856a45a1fbd9a1b48005d78063f9 (diff)
parent55e7f0486a15b08122fffb22e38c71be15ef2986 (diff)
merge again
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rsa.h b/rsa.h
index 716a152..7c99282 100644
--- a/rsa.h
+++ b/rsa.h
@@ -43,11 +43,9 @@ typedef struct {
} dropbear_rsa_key;
-void buf_put_rsa_sign(buffer* buf, dropbear_rsa_key *key, const unsigned char* data,
- unsigned int len);
+void buf_put_rsa_sign(buffer* buf, dropbear_rsa_key *key, buffer *data_buf);
#ifdef DROPBEAR_SIGNKEY_VERIFY
-int buf_rsa_verify(buffer * buf, dropbear_rsa_key *key, const unsigned char* data,
- unsigned int len);
+int buf_rsa_verify(buffer * buf, dropbear_rsa_key *key, buffer *data_buf);
#endif
int buf_get_rsa_pub_key(buffer* buf, dropbear_rsa_key *key);
int buf_get_rsa_priv_key(buffer* buf, dropbear_rsa_key *key);