diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-17 23:58:31 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-17 23:58:31 +0800 |
commit | 972d723484d89c71e73ed63cc17bb2a6ce8cca5a (patch) | |
tree | a235001a141556ea7e2578ff12f2765d6a953280 /rsa.h | |
parent | 7dc2f36c3e2d21455ae432da4d8f338e7dc0668c (diff) |
split signkey_type and signature_type for RSA sha1 vs sha256
Diffstat (limited to 'rsa.h')
-rw-r--r-- | rsa.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,10 +43,10 @@ typedef struct dropbear_RSA_Key { } dropbear_rsa_key; void buf_put_rsa_sign(buffer* buf, const dropbear_rsa_key *key, - enum signkey_type sigtype, const buffer *data_buf); + enum signature_type sigtype, const buffer *data_buf); #if DROPBEAR_SIGNKEY_VERIFY int buf_rsa_verify(buffer * buf, const dropbear_rsa_key *key, - enum signkey_type sigtype, const buffer *data_buf); + enum signature_type sigtype, const 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); |