diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-04-06 16:00:37 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-04-06 16:00:37 +0800 |
commit | a8135dec1e8b9360274679c9ff89cb98cda87930 (patch) | |
tree | 42cf334c3aac754cdf1a1fb4a9ed0789d49d16b0 /rsa.h | |
parent | b4bcc606576dab755441da1bc2fbe28041d54b06 (diff) |
Make _sign and _verify functions take a buffer* rather than void* and int
--HG--
branch : ecc
Diffstat (limited to 'rsa.h')
-rw-r--r-- | rsa.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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); |