Home
last modified time | relevance | path

Searched refs:ckey (Results 1 – 8 of 8) sorted by relevance

/openssl/demos/certs/apps/
H A Dmkacerts.sh22 -key ckey.pem -out creq.pem -new
46 cat ckey.pem >>client.pem
/openssl/crypto/ec/
H A Dec_kmeth.c220 int (*ckey)(unsigned char **psec, in EC_KEY_METHOD_set_compute_key()
225 meth->compute_key = ckey; in EC_KEY_METHOD_set_compute_key()
/openssl/ssl/statem/
H A Dstatem_clnt.c3150 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()
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()
[all …]
H A Dstatem_srvr.c3061 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()
3149 if (ssl_derive(s, skey, ckey, 1) == 0) { in tls_process_cke_ecdhe()
[all …]
H A Dextensions_srvr.c1646 EVP_PKEY *ckey = s->s3.peer_tmp, *skey = NULL; in tls_construct_stoc_key_share() local
1650 if (ckey != NULL) { in tls_construct_stoc_key_share()
1665 if (ckey == NULL) { in tls_construct_stoc_key_share()
1699 skey = ssl_generate_pkey(s, ckey); in tls_construct_stoc_key_share()
1726 if (ssl_derive(s, skey, ckey, 1) == 0) { in tls_construct_stoc_key_share()
1741 if (ssl_encapsulate(s, ckey, &ct, &ctlen, 0) == 0) { in tls_construct_stoc_key_share()
H A Dextensions_clnt.c1837 EVP_PKEY *ckey = s->s3.tmp.pkey, *skey = NULL; in tls_parse_stoc_key_share() local
1841 if (ckey == NULL || s->s3.peer_tmp != NULL) { in tls_parse_stoc_key_share()
1935 if (skey == NULL || EVP_PKEY_copy_parameters(skey, ckey) <= 0) { in tls_parse_stoc_key_share()
1948 if (ssl_derive(s, ckey, skey, 1) == 0) { in tls_parse_stoc_key_share()
1959 if (ssl_decapsulate(s, ckey, ct, ctlen, 1) == 0) { in tls_parse_stoc_key_share()
/openssl/demos/certs/
H A Dmkcerts.sh31 -keyout ckey.pem -out creq.pem -newkey rsa:1024
/openssl/include/openssl/
H A Dec.h1496 int (*ckey)(unsigned char **psec, size_t *pseclen,

Completed in 43 milliseconds