Add eap-tls key derivation in the examples.
Add support for eap-tls key derivation functionality, in `ssl_client2` and `ssl_server2` reference applications.
This commit is contained in:
parent
c4d3ef4721
commit
b7fd64ce2b
3 changed files with 193 additions and 2 deletions
|
@ -1270,7 +1270,7 @@ int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl )
|
|||
{
|
||||
ssl->conf->f_export_keys_ext( ssl->conf->p_export_keys,
|
||||
session->master, keyblk,
|
||||
mac_key_len, transform->keylen,
|
||||
mac_key_len, keylen,
|
||||
iv_copy_len, handshake->tls_prf,
|
||||
handshake->randbytes + 32,
|
||||
handshake->randbytes );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue