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

/freebsd-current/crypto/openssh/
H A Dauthfile.c119 struct sshkey **keyp, char **commentp)
123 if (keyp != NULL)
124 *keyp = NULL;
135 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp);
136 if (r == 0 && keyp && *keyp)
137 r = sshkey_set_filename(*keyp, filename);
145 struct sshkey **keyp, char **commentp)
148 keyp, commentp);
153 struct sshkey **keyp, cha
118 sshkey_load_private_type(int type, const char *filename, const char *passphrase, struct sshkey **keyp, char **commentp) argument
144 sshkey_load_private(const char *filename, const char *passphrase, struct sshkey **keyp, char **commentp) argument
152 sshkey_load_private_type_fd(int fd, int type, const char *passphrase, struct sshkey **keyp, char **commentp) argument
265 sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp) argument
301 sshkey_load_cert(const char *filename, struct sshkey **keyp) argument
321 sshkey_load_private_cert(int type, const char *filename, const char *passphrase, struct sshkey **keyp) argument
[all...]
H A Dauthfile.h46 struct sshkey **keyp, char **commentp);
H A Dssh-sk.h53 struct sshkey **keyp, struct sshbuf *attest);
H A Dsshkey.h218 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
298 int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
305 const char *passphrase, struct sshkey **keyp, char **commentp);
307 const char *passphrase, struct sshkey **keyp, char **commentp);
H A Dssh-sk.c206 sshsk_ecdsa_assemble(struct sk_enroll_response *resp, struct sshkey **keyp) argument
213 *keyp = NULL;
249 *keyp = key;
261 sshsk_ed25519_assemble(struct sk_enroll_response *resp, struct sshkey **keyp) argument
266 *keyp = NULL;
284 *keyp = key;
294 struct sk_enroll_response *resp, struct sshkey **keyp)
299 *keyp = NULL;
342 *keyp = key;
466 struct sshkey **keyp, struc
293 sshsk_key_from_response(int alg, const char *application, uint8_t flags, struct sk_enroll_response *resp, struct sshkey **keyp) argument
463 sshsk_enroll(int type, const char *provider_path, const char *device, const char *application, const char *userid, uint8_t flags, const char *pin, struct sshbuf *challenge_buf, struct sshkey **keyp, struct sshbuf *attest) argument
[all...]
H A Dsshkey.c95 struct sshkey **keyp, int allow_cert);
1398 sshkey_generate(int type, u_int bits, struct sshkey **keyp) argument
1404 if (keyp == NULL || sshkey_type_is_cert(type))
1406 *keyp = NULL;
1419 *keyp = k;
1897 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, argument
1909 if (keyp != NULL)
1910 *keyp = NULL;
1952 if (keyp != NULL) {
1953 *keyp
1964 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) argument
1977 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) argument
1983 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) argument
3096 sshkey_parse_private2(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp, char **commentp) argument
3156 sshkey_parse_private2_pubkey(struct sshbuf *blob, int type, struct sshkey **keyp) argument
3424 sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp) argument
3566 sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp, char **commentp) argument
3597 sshkey_parse_private_fileblob(struct sshbuf *buffer, const char *passphrase, struct sshkey **keyp, char **commentp) argument
[all...]
H A Dssh-pkcs11.c917 CK_OBJECT_HANDLE *obj, struct sshkey **keyp, char **labelp)
938 *keyp = NULL;
1070 *keyp = key;
1508 * keyp is provided, fetch keys.
1512 struct sshkey ***keyp, char ***labelsp,
1529 if (keyp != NULL)
1530 *keyp = NULL;
1620 * keys (if keyp is provided)
1623 keyp == NULL)
1625 pkcs11_fetch_keys(p, i, keyp, labels
916 pkcs11_fetch_x509_pubkey(struct pkcs11_provider *p, CK_ULONG slotidx, CK_OBJECT_HANDLE *obj, struct sshkey **keyp, char **labelp) argument
1511 pkcs11_register_provider(char *provider_id, char *pin, struct sshkey ***keyp, char ***labelsp, struct pkcs11_provider **providerp, CK_ULONG user) argument
1672 pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp, char ***labelsp) argument
1876 pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp, char ***labelsp) argument
[all...]
H A Dssh-sk-client.c297 struct sshkey **keyp, struct sshbuf *attest)
303 *keyp = NULL;
358 *keyp = key;
294 sshsk_enroll(int type, const char *provider_path, const char *device, const char *application, const char *userid, uint8_t flags, const char *pin, struct sshbuf *challenge_buf, struct sshkey **keyp, struct sshbuf *attest) argument
H A Dsshsig.c732 const char *required_principal, char **principalsp, struct sshkey **keyp,
745 if (keyp != NULL)
746 *keyp = NULL;
820 if (keyp != NULL) {
821 *keyp = key;
731 parse_principals_key_and_options(const char *path, u_long linenum, char *line, const char *required_principal, char **principalsp, struct sshkey **keyp, struct sshsigopt **sigoptsp) argument
H A Dauthfd.c236 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) argument
246 if ((r = sshkey_from_blob(blob, blen, keyp)) != 0)
H A Dkex.c1312 const struct sshbuf *shared_secret, u_char **keyp)
1365 *keyp = digest;
1311 derive_key(struct ssh *ssh, int id, u_int need, u_char *hash, u_int hashlen, const struct sshbuf *shared_secret, u_char **keyp) argument
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_context_os.h51 #define tsd_create(keyp, destructor) do { \
52 *(keyp) = osd_thread_register((destructor)); \
53 KASSERT(*(keyp) > 0, ("cannot register OSD")); \
56 #define tsd_destroy(keyp) osd_thread_deregister(*(keyp))
/freebsd-current/sys/geom/eli/
H A Dpkcs5v2.c55 uint8_t *counter, *keyp; local
65 keyp = key;
66 for (count = 1; keylen > 0; count++, keylen -= bsize, keyp += bsize) {
75 xor(keyp, md, bsize);
81 xor(keyp, md, bsize);
H A Dg_eli.h715 const unsigned char *key, unsigned char *mkey, unsigned keyp);
/freebsd-current/crypto/openssh/regress/misc/fuzz-harness/
H A Dssh-sk-null.cc31 struct sshkey **keyp, struct sshbuf *attest)
28 sshsk_enroll(int type, const char *provider_path, const char *device, const char *application, const char *userid, uint8_t flags, const char *pin, struct sshbuf *challenge_buf, struct sshkey **keyp, struct sshbuf *attest) argument
/freebsd-current/crypto/openssl/crypto/property/
H A Dproperty_query.c14 static int property_idx_cmp(const void *keyp, const void *compare) argument
16 OSSL_PROPERTY_IDX key = *(const OSSL_PROPERTY_IDX *)keyp;
/freebsd-current/sys/dev/random/
H A Dhash.c204 randomdev_getkey(union randomdev_key *context, const void **keyp, size_t *szp) argument
208 *keyp = &context->key.keyMaterial;
214 *keyp = (const void *)&context->chacha.input[4];
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c206 * @keyp: search key
211 * to this anchor via the 'he_key_list' list head. On return they keyp
215 tsd_hash_add_key(tsd_hash_table_t *table, uint_t *keyp, dtor_func_t dtor) argument
246 entry->he_key = *keyp = table->ht_key;
254 hash = hash_long((ulong_t)*keyp * (ulong_t)DTOR_PID, table->ht_bits);
557 * @keyp: lookup key address
568 tsd_create(uint_t *keyp, dtor_func_t dtor) argument
570 ASSERT3P(keyp, !=, NULL);
571 if (*keyp)
574 (void) tsd_hash_add_key(tsd_hash_table, keyp, dto
588 tsd_destroy(uint_t *keyp) argument
[all...]
/freebsd-current/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,
521 tlv_type = __LE_TO_CPU_16(((uint16_t *)keyp)[0]);
522 tlv_length = __LE_TO_CPU_16(((uint16_t *)keyp)[1]);
557 caddr_t keyp,
507 efx_lic_v1v2_validate_key( __in efx_nic_t *enp, __in_bcount(length) caddr_t keyp, __in uint32_t length) argument
549 efx_lic_v1v2_read_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __out_bcount_part(key_max_size, *lengthp) caddr_t keyp, __in size_t key_max_size, __out uint32_t *lengthp) argument
584 efx_lic_v1v2_write_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in_bcount(length) caddr_t keyp, __in uint32_t length, __out uint32_t *lengthp) argument
1096 efx_lic_v3_validate_key( __in efx_nic_t *enp, __in_bcount(length) caddr_t keyp, __in uint32_t length) argument
1139 efx_lic_v3_read_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __out_bcount_part(key_max_size, *lengthp) caddr_t keyp, __in size_t key_max_size, __out uint32_t *lengthp) argument
1160 efx_lic_v3_write_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in_bcount(length) caddr_t keyp, __in uint32_t length, __out uint32_t *lengthp) argument
1536 efx_lic_validate_key( __in efx_nic_t *enp, __in_bcount(length) caddr_t keyp, __in uint32_t length) argument
1559 efx_lic_read_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __out_bcount_part(key_max_size, *lengthp) caddr_t keyp, __in size_t key_max_size, __out uint32_t *lengthp) argument
1590 efx_lic_write_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in_bcount(length) caddr_t keyp, __in uint32_t length, __out uint32_t *lengthp) argument
[all...]
H A Defx.h3135 __in_bcount(length) caddr_t keyp,
3147 caddr_t keyp,
3158 __in_bcount(length) caddr_t keyp,
/freebsd-current/lib/libc/stdlib/
H A Dtdelete.c113 void **keyp = &(*leaf)->key; local
118 *keyp = old->key;
/freebsd-current/sys/dev/kbd/
H A Dkbd.c791 keyarg_t *keyp; local
883 keyp = (keyarg_t *)arg;
884 if (keyp->keynum >= sizeof(kbd->kb_keymap->key) /
888 bcopy(&kbd->kb_keymap->key[keyp->keynum], &keyp->key,
889 sizeof(keyp->key));
893 keyp = (keyarg_t *)arg;
894 if (keyp->keynum >= sizeof(kbd->kb_keymap->key) /
898 error = key_change_ok(&kbd->kb_keymap->key[keyp->keynum],
899 &keyp
[all...]
/freebsd-current/sys/contrib/openzfs/cmd/zed/
H A Dzed_event.c858 const char **keyp; local
863 for (keyp = env_preserve; *keyp; keyp++) {
864 if ((val = getenv(*keyp)))
865 _zed_event_add_var(eid, zsp, NULL, *keyp, "%s", val);
/freebsd-current/crypto/openssl/crypto/aes/asm/
H A Daes-x86_64.pl1722 my $keyp="0(%rsp)"; # one to pass as $key
1723 my $keyend="8(%rsp)"; # &(keyp->rd_key[4*keyp->rounds])
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,
[all...]

Completed in 174 milliseconds