Lines Matching refs:pms_len
1581 size_t pms_len = 0; in ssl3_send_client_key_exchange() local
1631 pms_len = SSL_MAX_MASTER_KEY_LENGTH; in ssl3_send_client_key_exchange()
1632 pms = OPENSSL_malloc(pms_len); in ssl3_send_client_key_exchange()
1671 !RSA_encrypt(rsa, &enc_pms_len, ptr, RSA_size(rsa), pms, pms_len, in ssl3_send_client_key_exchange()
1674 !ssl_log_rsa_client_key_exchange(ssl, ptr, enc_pms_len, pms, pms_len) || in ssl3_send_client_key_exchange()
1698 if (!SSL_ECDH_CTX_compute_secret(&ssl->s3->tmp.ecdh_ctx, &pms, &pms_len, in ssl3_send_client_key_exchange()
1712 pms_len = psk_len; in ssl3_send_client_key_exchange()
1713 pms = OPENSSL_malloc(pms_len); in ssl3_send_client_key_exchange()
1718 memset(pms, 0, pms_len); in ssl3_send_client_key_exchange()
1733 if (!CBB_init(&pms_cbb, 2 + psk_len + 2 + pms_len) || in ssl3_send_client_key_exchange()
1735 !CBB_add_bytes(&child, pms, pms_len) || in ssl3_send_client_key_exchange()
1743 OPENSSL_cleanse(pms, pms_len); in ssl3_send_client_key_exchange()
1746 pms_len = new_pms_len; in ssl3_send_client_key_exchange()
1759 ssl, ssl->session->master_key, pms, pms_len); in ssl3_send_client_key_exchange()
1764 OPENSSL_cleanse(pms, pms_len); in ssl3_send_client_key_exchange()
1772 OPENSSL_cleanse(pms, pms_len); in ssl3_send_client_key_exchange()