Home
last modified time | relevance | path

Searched refs:fromkey (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dtls-provider.c489 const XORKEY *fromkey = vfromkey; in xor_dup()
492 if (tokey != NULL && fromkey != NULL) { in xor_dup()
496 if (fromkey->haspubkey) { in xor_dup()
497 memcpy(tokey->pubkey, fromkey->pubkey, XOR_KEY_SIZE); in xor_dup()
504 if (fromkey->hasprivkey) { in xor_dup()
505 memcpy(tokey->privkey, fromkey->privkey, XOR_KEY_SIZE); in xor_dup()
483 const XORKEY *fromkey = vfromkey; xor_dup() local
H A Devp_extra_test2.c284 EVP_PKEY *fromkey = NULL, *fromkeypair = NULL; in do_pkey_tofrom_data_select() local
310 || !TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkey, EVP_PKEY_PUBLIC_KEY, in do_pkey_tofrom_data_select()
312 || !TEST_false(pkey_has_private(fromkey, privtag, use_octstring))) in do_pkey_tofrom_data_select()
325 EVP_PKEY_free(fromkey); in do_pkey_tofrom_data_select()
/freebsd/crypto/openssh/
H A Dssh-agent.c431 permitted_by_dest_constraints(const struct sshkey *fromkey, in permitted_by_dest_constraints() argument
452 if (fromkey == NULL) { in permitted_by_dest_constraints()
456 } else if (match_key_hop("from", fromkey, &d->from) != 0) in permitted_by_dest_constraints()
493 const struct sshkey *fromkey = NULL; in identity_permitted() local
519 if (fromkey != NULL && in identity_permitted()
520 (fp1 = sshkey_fingerprint(fromkey, SSH_FP_HASH_DEFAULT, in identity_permitted()
529 fromkey ? sshkey_type(fromkey) : "(ORIGIN)", in identity_permitted()
530 fromkey ? fp1 : "", user ? user : "(ANY)", in identity_permitted()
561 if (permitted_by_dest_constraints(fromkey, hks->key, id, in identity_permitted()
564 fromkey = hks->key; in identity_permitted()