Lines Matching refs:ckey
3150 EVP_PKEY *ckey = NULL, *skey = NULL; in tls_construct_cke_dhe() local
3163 ckey = ssl_generate_pkey(s, skey); in tls_construct_cke_dhe()
3164 if (ckey == NULL) { in tls_construct_cke_dhe()
3169 if (ssl_derive(s, ckey, skey, 0) == 0) { in tls_construct_cke_dhe()
3177 encoded_pub_len = EVP_PKEY_get1_encoded_public_key(ckey, &encoded_pub); in tls_construct_cke_dhe()
3180 EVP_PKEY_free(ckey); in tls_construct_cke_dhe()
3189 prime_len = EVP_PKEY_get_size(ckey); in tls_construct_cke_dhe()
3207 EVP_PKEY_free(ckey); in tls_construct_cke_dhe()
3215 EVP_PKEY *ckey = NULL, *skey = NULL; in tls_construct_cke_ecdhe() local
3224 ckey = ssl_generate_pkey(s, skey); in tls_construct_cke_ecdhe()
3225 if (ckey == NULL) { in tls_construct_cke_ecdhe()
3230 if (ssl_derive(s, ckey, skey, 0) == 0) { in tls_construct_cke_ecdhe()
3236 encoded_pt_len = EVP_PKEY_get1_encoded_public_key(ckey, &encodedPoint); in tls_construct_cke_ecdhe()
3251 EVP_PKEY_free(ckey); in tls_construct_cke_ecdhe()