/freebsd/crypto/openssh/ |
H A D | authfile.c | 119 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 D | ssh-sk.c | 207 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 D | sshkey.c | 96 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 D | sshkey.h | 219 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 D | ssh-pkcs11.c | 927 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 D | authfile.h | 46 struct sshkey **keyp, char **commentp);
|
H A D | ssh-sk.h | 53 struct sshkey **keyp, struct sshbuf *attest);
|
H A D | ssh-sk-client.c | 297 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument 303 *keyp = NULL; in sshsk_enroll() 358 *keyp = key; in sshsk_enroll()
|
H A D | sshsig.c | 732 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 D | authfd.c | 236 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 D | kex.c | 1060 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 D | zfs_context_os.h | 51 #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 D | pkcs5v2.c | 65 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 D | g_eli.h | 715 const unsigned char *key, unsigned char *mkey, unsigned keyp);
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_lic.c | 74 __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 D | efx.h | 3135 __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 D | spl-tsd.c | 215 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 D | hash.c | 204 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 D | property_query.c | 14 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 D | kbd.c | 791 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 D | tdelete.c | 113 void **keyp = &(*leaf)->key; in tdelete() local 118 *keyp = old->key; in tdelete()
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_event.c | 858 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 D | ssh-sk-null.cc | 31 struct sshkey **keyp, struct sshbuf *attest) in sshsk_enroll() argument
|
/freebsd/crypto/openssl/crypto/aes/asm/ |
H A D | aes-x86_64.pl | 1722 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
|