Add PRF to derive key material from the ECDH shared secret.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 3 Jul 2011 13:26:58 +0000 (15:26 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 3 Jul 2011 13:26:58 +0000 (15:26 +0200)
commitfeb3f22fffa2620b9b11a509ce51ff9fa3be9418
tree71f14ec2218659012b5d3a7e2d09888401e1be56
parent8dfa072733feab737cabf69f000c70657719826a
Add PRF to derive key material from the ECDH shared secret.

It is modelled after the pseudorandom function from RFC4346 (TLS 1.1), the only
significant change is the use of SHA512 and Whirlpool instead of MD5 and SHA1.
src/Makefile.am
src/openssl/prf.c [new file with mode: 0644]
src/openssl/prf.h [new file with mode: 0644]