Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Devp_ctx.c148 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()
Dp_x25519.c49 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()
Dp_ec.c150 if (!ctx->pkey || !ctx->peerkey) { in pkey_ec_derive()
163 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
Dinternal.h190 EVP_PKEY *peerkey; member
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_ctx.c148 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()
Dp_x25519.c49 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()
Dp_ec.c150 if (!ctx->pkey || !ctx->peerkey) { in pkey_ec_derive()
163 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
Dinternal.h190 EVP_PKEY *peerkey; member
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c2081 EVP_PKEY *peerkey = NULL; in crypto_ecdh_set_peerkey() local
2127 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()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c2541 { FUNC(peerkey) /* obsolete - removed */ },