Lines Matching refs:mac_key_len
712 size_t mac_key_len = 0; in ssl_tls12_populate_transform() local
829 mac_key_len = 0; in ssl_tls12_populate_transform()
866 mac_key_len = mbedtls_md_get_size( md_info ); in ssl_tls12_populate_transform()
867 transform->maclen = mac_key_len; in ssl_tls12_populate_transform()
930 key1 = keyblk + mac_key_len * 2; in ssl_tls12_populate_transform()
931 key2 = keyblk + mac_key_len * 2 + keylen; in ssl_tls12_populate_transform()
934 mac_dec = keyblk + mac_key_len; in ssl_tls12_populate_transform()
950 key1 = keyblk + mac_key_len * 2 + keylen; in ssl_tls12_populate_transform()
951 key2 = keyblk + mac_key_len * 2; in ssl_tls12_populate_transform()
953 mac_enc = keyblk + mac_key_len; in ssl_tls12_populate_transform()
977 if( mac_key_len != 0 ) in ssl_tls12_populate_transform()
979 ret = mbedtls_md_hmac_starts( &transform->md_ctx_enc, mac_enc, mac_key_len ); in ssl_tls12_populate_transform()
982 ret = mbedtls_md_hmac_starts( &transform->md_ctx_dec, mac_dec, mac_key_len ); in ssl_tls12_populate_transform()