I am developing an EAP-TLS server using OpenSSL. I need to get key material from a TLS session, as described in RFC5216.
Key_Material = TLS-PRF-128 (master_secret, "client EAP encryption", client.random || server.random)
I can get the main secret in the TLS connection by visiting SSL_SESSION-> master_key, but how can I calculate the OpenSSL PRF?
source
share