Searched refs:peerkey (Results 1 – 10 of 10) sorted by relevance
148 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_CTX_free()173 if (ctx->peerkey != NULL) { in EVP_PKEY_CTX_dup()174 EVP_PKEY_up_ref(ctx->peerkey); in EVP_PKEY_CTX_dup()175 ret->peerkey = ctx->peerkey; in EVP_PKEY_CTX_dup()382 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_derive_set_peer()383 ctx->peerkey = peer; in EVP_PKEY_derive_set_peer()388 ctx->peerkey = NULL; in EVP_PKEY_derive_set_peer()
49 if (ctx->pkey == NULL || ctx->peerkey == NULL) { in pkey_x25519_derive()55 const X25519_KEY *peer_key = ctx->peerkey->pkey.ptr; in pkey_x25519_derive()
150 if (!ctx->pkey || !ctx->peerkey) { in pkey_ec_derive()163 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
190 EVP_PKEY *peerkey; member
2081 EVP_PKEY *peerkey = NULL; in crypto_ecdh_set_peerkey() local2127 peerkey = EVP_PKEY_new(); in crypto_ecdh_set_peerkey()2128 if (!peerkey || EVP_PKEY_set1_EC_KEY(peerkey, eckey) != 1) in crypto_ecdh_set_peerkey()2133 EVP_PKEY_derive_set_peer(ctx, peerkey) != 1 || in crypto_ecdh_set_peerkey()2162 EVP_PKEY_free(peerkey); in crypto_ecdh_set_peerkey()
2541 { FUNC(peerkey) /* obsolete - removed */ },