Make tls_connection_get_keyblock_size() internal to tls_*.c
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 31 Mar 2015 13:15:39 +0000 (16:15 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 1 Apr 2015 09:56:54 +0000 (12:56 +0300)
commitaf851914f810978909dd8598ab88030fe43d0051
treef67f630c24e69a9e8d1a1b4be2abb3470b66557b
parent94f1fe6f6384a2ef379ef5b8cdc32a2fa01f8d13
Make tls_connection_get_keyblock_size() internal to tls_*.c

This function exposes internal state of the TLS negotiated parameters
for the sole purpose of being able to implement PRF for EAP-FAST. Since
tls_connection_prf() is now taking care of all TLS-based key derivation
cases, it is cleaner to keep this detail internal to each tls_*.c
wrapper implementation.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/tls.h
src/crypto/tls_gnutls.c
src/crypto/tls_internal.c
src/crypto/tls_none.c
src/crypto/tls_openssl.c
src/eap_common/eap_fast_common.c
src/eap_peer/eap_tls_common.c
src/eap_server/eap_server_tls_common.c