Lines Matching refs:ckey
3061 EVP_PKEY *ckey = NULL; in tls_process_cke_dhe() local
3083 ckey = EVP_PKEY_new(); in tls_process_cke_dhe()
3084 if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) == 0) { in tls_process_cke_dhe()
3089 if (EVP_PKEY_set1_encoded_public_key(ckey, data, i) <= 0) { in tls_process_cke_dhe()
3094 if (ssl_derive(s, skey, ckey, 1) == 0) { in tls_process_cke_dhe()
3103 EVP_PKEY_free(ckey); in tls_process_cke_dhe()
3110 EVP_PKEY *ckey = NULL; in tls_process_cke_ecdhe() local
3137 ckey = EVP_PKEY_new(); in tls_process_cke_ecdhe()
3138 if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) <= 0) { in tls_process_cke_ecdhe()
3143 if (EVP_PKEY_set1_encoded_public_key(ckey, data, i) <= 0) { in tls_process_cke_ecdhe()
3149 if (ssl_derive(s, skey, ckey, 1) == 0) { in tls_process_cke_ecdhe()
3158 EVP_PKEY_free(ckey); in tls_process_cke_ecdhe()