Home
last modified time | relevance | path

Searched refs:keyp (Results 1 – 24 of 24) sorted by relevance

/freebsd/crypto/openssh/
H A Dauthfile.c119 struct sshkey **keyp, char **commentp) in sshkey_load_private_type() argument
123 if (keyp != NULL) in sshkey_load_private_type()
124 *keyp = NULL; in sshkey_load_private_type()
135 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp); in sshkey_load_private_type()
136 if (r == 0 && keyp && *keyp) in sshkey_load_private_type()
137 r = sshkey_set_filename(*keyp, filename); in sshkey_load_private_type()
145 struct sshkey **keyp, char **commentp) in sshkey_load_private() argument
148 keyp, commentp); in sshkey_load_private()
153 struct sshkey **keyp, char **commentp) in sshkey_load_private_type_fd() argument
158 if (keyp != NULL) in sshkey_load_private_type_fd()
[all …]
H A Dssh-sk.c207 sshsk_ecdsa_assemble(struct sk_enroll_response *resp, struct sshkey **keyp) in sshsk_ecdsa_assemble() argument
216 *keyp = NULL; in sshsk_ecdsa_assemble()
263 *keyp = key; in sshsk_ecdsa_assemble()
276 sshsk_ed25519_assemble(struct sk_enroll_response *resp, struct sshkey **keyp) in sshsk_ed25519_assemble() argument
281 *keyp = NULL; in sshsk_ed25519_assemble()
299 *keyp = key; in sshsk_ed25519_assemble()
309 struct sk_enroll_response *resp, struct sshkey **keyp) in sshsk_key_from_response() argument
314 *keyp = NULL; in sshsk_key_from_response()
357 *keyp = key; in sshsk_key_from_response()
481 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument
[all …]
H A Dsshkey.c96 struct sshkey **keyp, int allow_cert);
1508 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate() argument
1514 if (keyp == NULL || sshkey_type_is_cert(type)) in sshkey_generate()
1516 *keyp = NULL; in sshkey_generate()
1529 *keyp = k; in sshkey_generate()
2005 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal() argument
2017 if (keyp != NULL) in sshkey_from_blob_internal()
2018 *keyp = NULL; in sshkey_from_blob_internal()
2060 if (keyp != NULL) { in sshkey_from_blob_internal()
2061 *keyp = key; in sshkey_from_blob_internal()
[all …]
H A Dsshkey.h219 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
307 int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
314 const char *passphrase, struct sshkey **keyp, char **commentp);
316 const char *passphrase, struct sshkey **keyp, char **commentp);
H A Dssh-pkcs11.c927 CK_OBJECT_HANDLE *obj, struct sshkey **keyp, char **labelp) in pkcs11_fetch_x509_pubkey() argument
948 *keyp = NULL; in pkcs11_fetch_x509_pubkey()
1086 *keyp = key; in pkcs11_fetch_x509_pubkey()
1541 struct sshkey ***keyp, char ***labelsp, in pkcs11_register_provider() argument
1558 if (keyp != NULL) in pkcs11_register_provider()
1559 *keyp = NULL; in pkcs11_register_provider()
1652 keyp == NULL) in pkcs11_register_provider()
1654 pkcs11_fetch_keys(p, i, keyp, labelsp, &nkeys); in pkcs11_register_provider()
1655 pkcs11_fetch_certs(p, i, keyp, labelsp, &nkeys); in pkcs11_register_provider()
1667 pkcs11_fetch_keys(p, i, keyp, labelsp, &nkeys); in pkcs11_register_provider()
[all …]
H A Dauthfile.h46 struct sshkey **keyp, char **commentp);
H A Dssh-sk.h53 struct sshkey **keyp, struct sshbuf *attest);
H A Dssh-sk-client.c297 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument
303 *keyp = NULL; in sshsk_enroll()
358 *keyp = key; in sshsk_enroll()
H A Dsshsig.c732 const char *required_principal, char **principalsp, struct sshkey **keyp, in parse_principals_key_and_options() argument
745 if (keyp != NULL) in parse_principals_key_and_options()
746 *keyp = NULL; in parse_principals_key_and_options()
820 if (keyp != NULL) { in parse_principals_key_and_options()
821 *keyp = key; in parse_principals_key_and_options()
H A Dauthfd.c236 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) in deserialise_identity2() argument
246 if ((r = sshkey_from_blob(blob, blen, keyp)) != 0) in deserialise_identity2()
H A Dkex.c1060 const struct sshbuf *shared_secret, u_char **keyp) in derive_key() argument
1113 *keyp = digest; in derive_key()
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_context_os.h51 #define tsd_create(keyp, destructor) do { \ argument
52 *(keyp) = osd_thread_register((destructor)); \
53 KASSERT(*(keyp) > 0, ("cannot register OSD")); \
56 #define tsd_destroy(keyp) osd_thread_deregister(*(keyp)) argument
/freebsd/sys/geom/eli/
H A Dpkcs5v2.c65 uint8_t *counter, *keyp; in pkcs5v2_genkey_raw() local
74 keyp = key; in pkcs5v2_genkey_raw()
75 for (count = 1; keylen > 0; count++, keylen -= bsize, keyp += bsize) { in pkcs5v2_genkey_raw()
84 xor(keyp, md, bsize); in pkcs5v2_genkey_raw()
90 xor(keyp, md, bsize); in pkcs5v2_genkey_raw()
H A Dg_eli.h715 const unsigned char *key, unsigned char *mkey, unsigned keyp);
/freebsd/sys/dev/sfxge/common/
H A Defx_lic.c74 __in_bcount(length) caddr_t keyp,
86 caddr_t keyp,
97 __in_bcount(length) caddr_t keyp,
248 __in_bcount(length) caddr_t keyp,
260 caddr_t keyp,
271 __in_bcount(length) caddr_t keyp,
509 __in_bcount(length) caddr_t keyp, in efx_lic_v1v2_validate_key()
521 tlv_type = __LE_TO_CPU_16(((uint16_t *)keyp)[0]); in efx_lic_v1v2_validate_key()
522 tlv_length = __LE_TO_CPU_16(((uint16_t *)keyp)[1]); in efx_lic_v1v2_validate_key()
557 caddr_t keyp, in efx_lic_v1v2_read_key()
[all …]
H A Defx.h3135 __in_bcount(length) caddr_t keyp,
3147 caddr_t keyp,
3158 __in_bcount(length) caddr_t keyp,
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c215 tsd_hash_add_key(tsd_hash_table_t *table, uint_t *keyp, dtor_func_t dtor) in tsd_hash_add_key() argument
246 entry->he_key = *keyp = table->ht_key; in tsd_hash_add_key()
254 hash = hash_long((ulong_t)*keyp * (ulong_t)DTOR_PID, table->ht_bits); in tsd_hash_add_key()
568 tsd_create(uint_t *keyp, dtor_func_t dtor) in tsd_create() argument
570 ASSERT3P(keyp, !=, NULL); in tsd_create()
571 if (*keyp) in tsd_create()
574 (void) tsd_hash_add_key(tsd_hash_table, keyp, dtor); in tsd_create()
588 tsd_destroy(uint_t *keyp) in tsd_destroy() argument
600 dtor_entry = tsd_hash_search(table, *keyp, DTOR_PID); in tsd_destroy()
638 *keyp = 0; in tsd_destroy()
/freebsd/sys/dev/random/
H A Dhash.c204 randomdev_getkey(union randomdev_key *context, const void **keyp, size_t *szp) in randomdev_getkey() argument
208 *keyp = &context->key.keyMaterial; in randomdev_getkey()
214 *keyp = (const void *)&context->chacha.input[4]; in randomdev_getkey()
/freebsd/crypto/openssl/crypto/property/
H A Dproperty_query.c14 static int property_idx_cmp(const void *keyp, const void *compare) in property_idx_cmp() argument
16 OSSL_PROPERTY_IDX key = *(const OSSL_PROPERTY_IDX *)keyp; in property_idx_cmp()
/freebsd/sys/dev/kbd/
H A Dkbd.c791 keyarg_t *keyp; in genkbd_commonioctl() local
883 keyp = (keyarg_t *)arg; in genkbd_commonioctl()
884 if (keyp->keynum >= sizeof(kbd->kb_keymap->key) / in genkbd_commonioctl()
888 bcopy(&kbd->kb_keymap->key[keyp->keynum], &keyp->key, in genkbd_commonioctl()
889 sizeof(keyp->key)); in genkbd_commonioctl()
893 keyp = (keyarg_t *)arg; in genkbd_commonioctl()
894 if (keyp->keynum >= sizeof(kbd->kb_keymap->key) / in genkbd_commonioctl()
898 error = key_change_ok(&kbd->kb_keymap->key[keyp->keynum], in genkbd_commonioctl()
899 &keyp->key, curthread); in genkbd_commonioctl()
903 bcopy(&keyp->key, &kbd->kb_keymap->key[keyp->keynum], in genkbd_commonioctl()
[all …]
/freebsd/lib/libc/stdlib/
H A Dtdelete.c113 void **keyp = &(*leaf)->key; in tdelete() local
118 *keyp = old->key; in tdelete()
/freebsd/sys/contrib/openzfs/cmd/zed/
H A Dzed_event.c858 const char **keyp; in _zed_event_add_env_preserve() local
863 for (keyp = env_preserve; *keyp; keyp++) { in _zed_event_add_env_preserve()
864 if ((val = getenv(*keyp))) in _zed_event_add_env_preserve()
865 _zed_event_add_var(eid, zsp, NULL, *keyp, "%s", val); in _zed_event_add_env_preserve()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dssh-sk-null.cc31 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-x86_64.pl1722 my $keyp="0(%rsp)"; # one to pass as $key
1843 mov $key,$keyp # save key pointer
1872 mov $keyp,$key # restore key
1911 mov $keyp,$key # restore key
1956 mov $keyp,$key # restore key
2039 mov $key,$keyp # save key pointer
2068 mov $keyp,$key # restore key
2132 mov $keyp,$key # restore key