Mercurial > dropbear
comparison ed25519.h @ 1683:41bf8f216644
merge rsa-sha256
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 26 May 2020 00:24:02 +0800 |
parents | ba6fc7afe1c5 |
children | 35d504d59c05 |
comparison
equal
deleted
inserted
replaced
1673:e0871128e61f | 1683:41bf8f216644 |
---|---|
30 | 30 |
31 #if DROPBEAR_ED25519 | 31 #if DROPBEAR_ED25519 |
32 | 32 |
33 #define CURVE25519_LEN 32 | 33 #define CURVE25519_LEN 32 |
34 | 34 |
35 typedef struct { | 35 typedef struct dropbear_ED25519_Key { |
36 | 36 |
37 unsigned char priv[CURVE25519_LEN]; | 37 unsigned char priv[CURVE25519_LEN]; |
38 unsigned char pub[CURVE25519_LEN]; | 38 unsigned char pub[CURVE25519_LEN]; |
39 | 39 |
40 } dropbear_ed25519_key; | 40 } dropbear_ed25519_key; |