Use ECDSA to sign ECDH key exchange for UDP session keys.
The ECDSA public keys will also be included in the ANS_KEY requests, but are only used when no ECDSA public key is known yet.
This commit is contained in:
parent
03ac48ea19
commit
cff27a258f
11 changed files with 116 additions and 17 deletions
|
|
@ -29,5 +29,6 @@ typedef EC_KEY *ecdh_t;
|
|||
|
||||
extern bool ecdh_generate_public(ecdh_t *ecdh, void *pubkey);
|
||||
extern bool ecdh_compute_shared(ecdh_t *ecdh, const void *pubkey, void *shared);
|
||||
extern void ecdh_free(ecdh_t *ecdh);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue