Searched refs:pkey_ctx (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/crypto/openssl/ssl/
H A Ds3_clnt.c2994 EVP_PKEY_CTX *pkey_ctx; local
3019 pkey_ctx = EVP_PKEY_CTX_new(pub_key =
3021 if (pkey_ctx == NULL) {
3035 if (pkey_ctx == NULL
3036 || EVP_PKEY_encrypt_init(pkey_ctx) <= 0
3039 EVP_PKEY_CTX_free(pkey_ctx);
3063 (pkey_ctx, -1, EVP_PKEY_OP_ENCRYPT, EVP_PKEY_CTRL_SET_IV, 8,
3075 if (EVP_PKEY_encrypt(pkey_ctx, tmp, &msglen, premaster_secret, 32)
3090 EVP_PKEY_CTX_free(pkey_ctx);
H A Ds3_srvr.c2932 EVP_PKEY_CTX *pkey_ctx; local
2947 pkey_ctx = EVP_PKEY_CTX_new(pk, NULL);
2948 if (pkey_ctx == NULL) {
2953 if (EVP_PKEY_decrypt_init(pkey_ctx) <= 0) {
2965 if (EVP_PKEY_derive_set_peer(pkey_ctx, client_pub_pkey) <= 0)
2980 (pkey_ctx, premaster_secret, &outlen, start, inlen) <= 0) {
2994 (pkey_ctx, -1, -1, EVP_PKEY_CTRL_PEER_KEY, 2, NULL) > 0)
3000 EVP_PKEY_CTX_free(pkey_ctx);

Completed in 82 milliseconds