plan9fox/sys
cinap_lenrek ff47cbd464 libsec: implement server side ECDHE key exchange with secp256r1, move DH state in TlsSec structure, simplify
implement ECDHE key exchange with secp256r1 on the server side, providing
perfect forward secrecy (tho slowly).

it is easier to just keep the ECDH/DH state in the TlsSec structure,
which fits better with the grouping of the functions. we do the cleanup
in tlsConnectionFree() now, so a lot of error handling logic could go
away.

reinvestigated some error paths and removed the ones that cannot error.

move functions to fit the logical grouping.

combine the code for signing handshake hashes (for client certs) and
DH parameters. provide digestDHparams() function to be shared between
server and client code.
2016-04-18 19:24:57 +02:00
..
doc
games/lib
include remove unused liboventi 2016-04-13 01:09:45 +02:00
lib Subject: typo: ee corrected (thanks Eric Lindblad) 2016-04-13 15:54:31 +02:00
man rsa(8): provide example for converting OpenSSL generated PEM file to factotum 2016-04-17 07:33:35 +02:00
src libsec: implement server side ECDHE key exchange with secp256r1, move DH state in TlsSec structure, simplify 2016-04-18 19:24:57 +02:00