Lines Matching refs:ckey
2907 EVP_PKEY *ckey = NULL, *skey = NULL;
2920 ckey = ssl_generate_pkey(s, skey);
2921 if (ckey == NULL) {
2926 if (ssl_derive(s, ckey, skey, 0) == 0) {
2934 encoded_pub_len = EVP_PKEY_get1_encoded_public_key(ckey, &encoded_pub);
2937 EVP_PKEY_free(ckey);
2946 prime_len = EVP_PKEY_get_size(ckey);
2964 EVP_PKEY_free(ckey);
2972 EVP_PKEY *ckey = NULL, *skey = NULL;
2981 ckey = ssl_generate_pkey(s, skey);
2982 if (ckey == NULL) {
2987 if (ssl_derive(s, ckey, skey, 0) == 0) {
2993 encoded_pt_len = EVP_PKEY_get1_encoded_public_key(ckey, &encodedPoint);
3008 EVP_PKEY_free(ckey);