Lines Matching refs:peer
616 EVP_PKEY *peer = EVP_PKEY_new();
617 if (peer == NULL) {
621 EVP_PKEY_set1_EC_KEY(peer, ec_key);
628 EVP_PKEY_derive_set_peer(pctx, peer) != 1) {
630 EVP_PKEY_free(peer);
638 EVP_PKEY_free(peer);
645 EVP_PKEY_free(peer);
650 EVP_PKEY_free(peer);
660 EVP_PKEY *peer = peer_key->key;
661 if (EVP_PKEY_base_id(peer) != EVP_PKEY_EC) {
668 int nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(peer)));
675 EVP_PKEY_derive_set_peer(pctx, peer) != 1) {
1406 /* peer key, in this case, is encrypted secret, which is 16 bytes of data */