Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dauthfile.c111 struct sshkey **keyp, char **commentp) in sshkey_load_private_type() argument
115 if (keyp != NULL) in sshkey_load_private_type()
116 *keyp = NULL; in sshkey_load_private_type()
127 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp); in sshkey_load_private_type()
135 struct sshkey **keyp, char **commentp) in sshkey_load_private() argument
138 keyp, commentp); in sshkey_load_private()
143 struct sshkey **keyp, char **commentp) in sshkey_load_private_type_fd() argument
148 if (keyp != NULL) in sshkey_load_private_type_fd()
149 *keyp = NULL; in sshkey_load_private_type_fd()
152 passphrase, keyp, commentp)) != 0) in sshkey_load_private_type_fd()
[all …]
H A Dssh-sk.c205 sshsk_ecdsa_assemble(struct sk_enroll_response *resp, struct sshkey **keyp) in sshsk_ecdsa_assemble() argument
214 *keyp = NULL; in sshsk_ecdsa_assemble()
261 *keyp = key; in sshsk_ecdsa_assemble()
274 sshsk_ed25519_assemble(struct sk_enroll_response *resp, struct sshkey **keyp) in sshsk_ed25519_assemble() argument
279 *keyp = NULL; in sshsk_ed25519_assemble()
297 *keyp = key; in sshsk_ed25519_assemble()
307 struct sk_enroll_response *resp, struct sshkey **keyp) in sshsk_key_from_response() argument
312 *keyp = NULL; in sshsk_key_from_response()
355 *keyp = key; in sshsk_key_from_response()
479 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument
[all …]
H A Dsshkey.c86 struct sshkey **keyp, int allow_cert);
1507 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate() argument
1513 if (keyp == NULL || sshkey_type_is_cert(type)) in sshkey_generate()
1515 *keyp = NULL; in sshkey_generate()
1528 *keyp = k; in sshkey_generate()
2003 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal() argument
2015 if (keyp != NULL) in sshkey_from_blob_internal()
2016 *keyp = NULL; in sshkey_from_blob_internal()
2058 if (keyp != NULL) { in sshkey_from_blob_internal()
2059 *keyp = key; in sshkey_from_blob_internal()
[all …]
H A Dsshkey.h206 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
291 int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
298 const char *passphrase, struct sshkey **keyp, char **commentp);
300 const char *passphrase, struct sshkey **keyp, char **commentp);
H A Dssh-pkcs11.c1201 CK_OBJECT_HANDLE *obj, struct sshkey **keyp, char **labelp) in pkcs11_fetch_x509_pubkey() argument
1224 *keyp = NULL; in pkcs11_fetch_x509_pubkey()
1397 *keyp = key; in pkcs11_fetch_x509_pubkey()
1850 struct sshkey ***keyp, char ***labelsp, in pkcs11_register_provider() argument
1867 if (keyp != NULL) in pkcs11_register_provider()
1868 *keyp = NULL; in pkcs11_register_provider()
1961 keyp == NULL) in pkcs11_register_provider()
1963 pkcs11_fetch_keys(p, i, keyp, labelsp, &nkeys); in pkcs11_register_provider()
1965 pkcs11_fetch_certs(p, i, keyp, labelsp, &nkeys); in pkcs11_register_provider()
1978 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.c315 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument
321 *keyp = NULL; in sshsk_enroll()
376 *keyp = key; in sshsk_enroll()
H A Dsshsig.c737 const char *required_principal, char **principalsp, struct sshkey **keyp, in parse_principals_key_and_options() argument
750 if (keyp != NULL) in parse_principals_key_and_options()
751 *keyp = NULL; in parse_principals_key_and_options()
825 if (keyp != NULL) { in parse_principals_key_and_options()
826 *keyp = key; in parse_principals_key_and_options()
H A Dauthfd.c235 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) in deserialise_identity2() argument
245 if ((r = sshkey_from_blob(blob, blen, keyp)) != 0) in deserialise_identity2()
H A Dkex.c1070 const struct sshbuf *shared_secret, u_char **keyp) in derive_key() argument
1123 *keyp = digest; in derive_key()
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_context_os.h52 #define tsd_create(keyp, destructor) do { \ argument
53 *(keyp) = osd_thread_register((destructor)); \
54 KASSERT(*(keyp) > 0, ("cannot register OSD")); \
57 #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.c216 tsd_hash_add_key(tsd_hash_table_t *table, uint_t *keyp, dtor_func_t dtor) in tsd_hash_add_key() argument
247 entry->he_key = *keyp = table->ht_key; in tsd_hash_add_key()
255 hash = hash_long((ulong_t)*keyp * (ulong_t)DTOR_PID, table->ht_bits); in tsd_hash_add_key()
569 tsd_create(uint_t *keyp, dtor_func_t dtor) in tsd_create() argument
571 ASSERT3P(keyp, !=, NULL); in tsd_create()
572 if (*keyp) in tsd_create()
575 (void) tsd_hash_add_key(tsd_hash_table, keyp, dtor); in tsd_create()
589 tsd_destroy(uint_t *keyp) in tsd_destroy() argument
601 dtor_entry = tsd_hash_search(table, *keyp, DTOR_PID); in tsd_destroy()
639 *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.c862 const char **keyp; in _zed_event_add_env_preserve() local
867 for (keyp = env_preserve; *keyp; keyp++) { in _zed_event_add_env_preserve()
868 if ((val = getenv(*keyp))) in _zed_event_add_env_preserve()
869 _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