Lines Matching refs:ckey
2959 EVP_PKEY *ckey = NULL;
2981 ckey = EVP_PKEY_new();
2982 if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) == 0) {
2987 if (!EVP_PKEY_set1_encoded_public_key(ckey, data, i)) {
2992 if (ssl_derive(s, skey, ckey, 1) == 0) {
3001 EVP_PKEY_free(ckey);
3008 EVP_PKEY *ckey = NULL;
3035 ckey = EVP_PKEY_new();
3036 if (ckey == NULL || EVP_PKEY_copy_parameters(ckey, skey) <= 0) {
3041 if (EVP_PKEY_set1_encoded_public_key(ckey, data, i) <= 0) {
3047 if (ssl_derive(s, skey, ckey, 1) == 0) {
3056 EVP_PKEY_free(ckey);