Searched refs:key2 (Results 1 – 1 of 1) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ssl_tls.c | 490 unsigned char *key2; in mbedtls_ssl_derive_keys() local 776 key2 = keyblk + transform->maclen * 2 + transform->keylen; in mbedtls_ssl_derive_keys() 786 memcpy( transform->iv_enc, key2 + transform->keylen, iv_copy_len ); in mbedtls_ssl_derive_keys() 787 memcpy( transform->iv_dec, key2 + transform->keylen + iv_copy_len, in mbedtls_ssl_derive_keys() 796 key2 = keyblk + transform->maclen * 2; in mbedtls_ssl_derive_keys() 852 if( ( ret = mbedtls_ssl_hw_record_init( ssl, key1, key2, transform->keylen, in mbedtls_ssl_derive_keys() 896 if( ( ret = mbedtls_cipher_setkey( &transform->cipher_ctx_dec, key2, in mbedtls_ssl_derive_keys()
|