Lines Matching refs:ckey
2960 EVP_PKEY *ckey = NULL; in tls_process_cke_dhe() local
2982 ckey = EVP_PKEY_new(); in tls_process_cke_dhe()
2983 if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) == 0) { in tls_process_cke_dhe()
2988 if (!EVP_PKEY_set1_encoded_public_key(ckey, data, i)) { in tls_process_cke_dhe()
2993 if (ssl_derive(s, skey, ckey, 1) == 0) { in tls_process_cke_dhe()
3002 EVP_PKEY_free(ckey); in tls_process_cke_dhe()
3009 EVP_PKEY *ckey = NULL; in tls_process_cke_ecdhe() local
3036 ckey = EVP_PKEY_new(); in tls_process_cke_ecdhe()
3037 if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) <= 0) { in tls_process_cke_ecdhe()
3042 if (EVP_PKEY_set1_encoded_public_key(ckey, data, i) <= 0) { in tls_process_cke_ecdhe()
3048 if (ssl_derive(s, skey, ckey, 1) == 0) { in tls_process_cke_ecdhe()
3057 EVP_PKEY_free(ckey); in tls_process_cke_ecdhe()