Home
last modified time | relevance | path

Searched refs:peerkey (Results 1 – 13 of 13) sorted by relevance

/third_party/openssl/apps/
Dpkeyutl.c93 const char *peerkey = NULL; in pkeyutl_main() local
126 peerkey = opt_arg(); in pkeyutl_main()
211 } else if (peerkey != NULL && pkey_op != EVP_PKEY_OP_DERIVE) { in pkeyutl_main()
223 if (peerkey != NULL && !setup_peer(ctx, peerform, peerkey, e)) { in pkeyutl_main()
/third_party/openssl/doc/man3/
DEVP_PKEY_derive.pod56 EVP_PKEY *pkey, *peerkey;
57 /* NB: assumes pkey, eng, peerkey have been already set up */
64 if (EVP_PKEY_derive_set_peer(ctx, peerkey) <= 0)
/third_party/openssl/crypto/ec/
Decx_meth.c662 const ECX_KEY *ecxkey, *peerkey; in validate_ecx_derive() local
664 if (ctx->pkey == NULL || ctx->peerkey == NULL) { in validate_ecx_derive()
669 peerkey = ctx->peerkey->pkey.ecx; in validate_ecx_derive()
674 if (peerkey == NULL) { in validate_ecx_derive()
679 *pubkey = peerkey->pubkey; in validate_ecx_derive()
Dec_pmeth.c159 if (!ctx->pkey || !ctx->peerkey) { in pkey_ec_derive()
172 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
/third_party/openssl/crypto/evp/
Dpmeth_fn.c270 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_derive_set_peer()
271 ctx->peerkey = peer; in EVP_PKEY_derive_set_peer()
276 ctx->peerkey = NULL; in EVP_PKEY_derive_set_peer()
Dpmeth_lib.c281 if (pctx->peerkey) in EVP_PKEY_CTX_dup()
282 EVP_PKEY_up_ref(pctx->peerkey); in EVP_PKEY_CTX_dup()
284 rctx->peerkey = pctx->peerkey; in EVP_PKEY_CTX_dup()
359 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_CTX_free()
487 return ctx->peerkey; in EVP_PKEY_CTX_get0_peerkey()
/third_party/openssl/crypto/dh/
Ddh_pmeth.c427 if (!ctx->pkey || !ctx->peerkey) { in pkey_dh_derive()
432 dhpub = ctx->peerkey->pkey.dh->pub_key; in pkey_dh_derive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c2093 EVP_PKEY *peerkey = NULL; in crypto_ecdh_set_peerkey() local
2139 peerkey = EVP_PKEY_new(); in crypto_ecdh_set_peerkey()
2140 if (!peerkey || EVP_PKEY_set1_EC_KEY(peerkey, eckey) != 1) in crypto_ecdh_set_peerkey()
2145 EVP_PKEY_derive_set_peer(ctx, peerkey) != 1 || in crypto_ecdh_set_peerkey()
2174 EVP_PKEY_free(peerkey); in crypto_ecdh_set_peerkey()
/third_party/openssl/doc/man1/
Dpkeyutl.pod18 [B<-peerkey file>]
79 =item B<-peerkey file>
319 openssl pkeyutl -derive -inkey key.pem -peerkey pubkey.pem -out secret
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c2207 EVP_PKEY *peerkey = NULL; in crypto_ecdh_set_peerkey() local
2253 peerkey = EVP_PKEY_new(); in crypto_ecdh_set_peerkey()
2254 if (!peerkey || EVP_PKEY_set1_EC_KEY(peerkey, eckey) != 1) in crypto_ecdh_set_peerkey()
2259 EVP_PKEY_derive_set_peer(ctx, peerkey) != 1 || in crypto_ecdh_set_peerkey()
2288 EVP_PKEY_free(peerkey); in crypto_ecdh_set_peerkey()
/third_party/openssl/include/crypto/
Devp.h27 EVP_PKEY *peerkey; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig.c2323 { FUNC(peerkey) /* obsolete - removed */ },
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig.c2542 { FUNC(peerkey) /* obsolete - removed */ },