summaryrefslogtreecommitdiffhomepage
path: root/rsa.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-17 23:58:31 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-17 23:58:31 +0800
commit972d723484d89c71e73ed63cc17bb2a6ce8cca5a (patch)
treea235001a141556ea7e2578ff12f2765d6a953280 /rsa.h
parent7dc2f36c3e2d21455ae432da4d8f338e7dc0668c (diff)
split signkey_type and signature_type for RSA sha1 vs sha256
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsa.h b/rsa.h
index 39e6004..a8bbf41 100644
--- a/rsa.h
+++ b/rsa.h
@@ -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);