Searched refs:peerkey (Results 1 – 5 of 5) sorted by relevance
149 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_CTX_free()174 if (ctx->peerkey != NULL) { in EVP_PKEY_CTX_dup()175 EVP_PKEY_up_ref(ctx->peerkey); in EVP_PKEY_CTX_dup()176 ret->peerkey = ctx->peerkey; in EVP_PKEY_CTX_dup()383 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_derive_set_peer()384 ctx->peerkey = peer; in EVP_PKEY_derive_set_peer()389 ctx->peerkey = NULL; in EVP_PKEY_derive_set_peer()
151 if (!ctx->pkey || !ctx->peerkey) { in pkey_ec_derive()164 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
185 EVP_PKEY *peerkey; member
1992 EVP_PKEY *peerkey = NULL; in crypto_ecdh_set_peerkey() local2038 peerkey = EVP_PKEY_new(); in crypto_ecdh_set_peerkey()2039 if (!peerkey || EVP_PKEY_set1_EC_KEY(peerkey, eckey) != 1) in crypto_ecdh_set_peerkey()2044 EVP_PKEY_derive_set_peer(ctx, peerkey) != 1 || in crypto_ecdh_set_peerkey()2069 EVP_PKEY_free(peerkey); in crypto_ecdh_set_peerkey()
2323 { FUNC(peerkey) /* obsolete - removed */ },