Searched refs:fromkey (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | tls-provider.c | 489 const XORKEY *fromkey = vfromkey; in xor_dup() local 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()
|
| H A D | evp_extra_test2.c | 284 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()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | ssh-agent.c | 407 permitted_by_dest_constraints(const struct sshkey *fromkey, in permitted_by_dest_constraints() argument 428 if (fromkey == NULL) { in permitted_by_dest_constraints() 432 } else if (match_key_hop("from", fromkey, &d->from) != 0) in permitted_by_dest_constraints() 469 const struct sshkey *fromkey = NULL; in identity_permitted() local 495 if (fromkey != NULL && in identity_permitted() 496 (fp1 = sshkey_fingerprint(fromkey, SSH_FP_HASH_DEFAULT, in identity_permitted() 505 fromkey ? sshkey_type(fromkey) : "(ORIGIN)", in identity_permitted() 506 fromkey ? fp1 : "", user ? user : "(ANY)", in identity_permitted() 537 if (permitted_by_dest_constraints(fromkey, hks->key, id, in identity_permitted() 540 fromkey = hks->key; in identity_permitted()
|