/freebsd/bin/ps/ |
H A D | print.c | 94 arguments(KINFO *k, VARENT *ve) in arguments() 109 command(KINFO *k, VARENT *ve) in command() 164 ucomm(KINFO *k, VARENT *ve) in ucomm() 186 tdnam(KINFO *k, VARENT *ve __unused) in tdnam() 200 logname(KINFO *k, VARENT *ve __unused) in logname() 209 state(KINFO *k, VARENT *ve __unused) in state() 283 pri(KINFO *k, VARENT *ve __unused) in pri() 292 upr(KINFO *k, VARENT *ve __unused) in upr() 302 username(KINFO *k, VARENT *ve __unused) in username() 309 egroupname(KINFO *k, VARENT *ve __unused) in egroupname() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
H A D | aeskey.c | 81 #define ke4(k, i) \ argument 115 #define kef6(k, i) \ argument 122 #define ke6(k, i) \ argument 157 #define kef8(k, i) \ argument 164 #define ke8(k, i) \ argument 254 #define k4e(k, i) \ argument 263 #define kdf4(k, i) \ argument 275 #define kd4(k, i) \ argument 284 #define kdl4(k, i) \ argument 295 #define kdf4(k, i) \ argument [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto_none.c | 75 none_attach(struct ieee80211vap *vap, struct ieee80211_key *k) in none_attach() 81 none_detach(struct ieee80211_key *k) in none_detach() 87 none_setkey(struct ieee80211_key *k) in none_setkey() 94 none_setiv(struct ieee80211_key *k, uint8_t *ivp) in none_setiv() 99 none_encap(struct ieee80211_key *k, struct mbuf *m) in none_encap() 120 none_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen) in none_decap() 140 none_enmic(struct ieee80211_key *k, struct mbuf *m, int force) in none_enmic() 149 none_demic(struct ieee80211_key *k, struct mbuf *m, int force) in none_demic()
|
H A D | ieee80211_crypto_wep.c | 88 wep_attach(struct ieee80211vap *vap, struct ieee80211_key *k) in wep_attach() 107 wep_detach(struct ieee80211_key *k) in wep_detach() 117 wep_setkey(struct ieee80211_key *k) in wep_setkey() 123 wep_setiv(struct ieee80211_key *k, uint8_t *ivp) in wep_setiv() 179 wep_encap(struct ieee80211_key *k, struct mbuf *m) in wep_encap() 226 wep_enmic(struct ieee80211_key *k, struct mbuf *m, int force) in wep_enmic() 238 wep_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen) in wep_decap() 284 wep_demic(struct ieee80211_key *k, struct mbuf *skb, int force) in wep_demic() 353 uint32_t i, j, k, crc; in wep_encrypt() local 436 uint32_t i, j, k, crc; in wep_decrypt() local
|
H A D | ieee80211_crypto.c | 62 null_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in null_key_alloc() 87 null_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in null_key_delete() 92 null_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in null_key_set() 606 const struct ieee80211_key *k) in ieee80211_crypto_get_key_wepidx() 619 ieee80211_crypto_get_keyid(struct ieee80211vap *vap, struct ieee80211_key *k) in ieee80211_crypto_get_keyid() 669 struct ieee80211_key *k; in ieee80211_crypto_encap() local 693 struct ieee80211_key *k; in ieee80211_crypto_decap() local 780 ieee80211_crypto_demic(struct ieee80211vap *vap, struct ieee80211_key *k, in ieee80211_crypto_demic() 833 struct ieee80211_key *k; in load_ucastkey() local 861 const struct ieee80211_key *k = &vap->iv_nw_keys[i]; in ieee80211_crypto_reload_keys() local
|
/freebsd/contrib/ldns/ |
H A D | keys.c | 105 ldns_key_new_frm_fp(ldns_key **k, FILE *fp) in ldns_key_new_frm_fp() 114 ldns_key *k; in ldns_key_new_frm_engine() local 419 ldns_key *k; in ldns_key_new_frm_fp_l() local 1085 ldns_key *k; in ldns_key_new_frm_algorithm() local 1323 ldns_key_print(FILE *output, const ldns_key *k) in ldns_key_print() 1336 ldns_key_set_algorithm(ldns_key *k, ldns_signing_algorithm l) in ldns_key_set_algorithm() 1342 ldns_key_set_flags(ldns_key *k, uint16_t f) in ldns_key_set_flags() 1350 ldns_key_set_evp_key(ldns_key *k, EVP_PKEY *e) in ldns_key_set_evp_key() 1356 ldns_key_set_rsa_key(ldns_key *k, RSA *r) in ldns_key_set_rsa_key() 1364 ldns_key_set_dsa_key(ldns_key *k, DSA *d) in ldns_key_set_dsa_key() [all …]
|
/freebsd/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.c | 87 rsa_n(struct sshkey *k) in rsa_n() 98 rsa_e(struct sshkey *k) in rsa_e() 109 rsa_p(struct sshkey *k) in rsa_p() 120 rsa_q(struct sshkey *k) in rsa_q() 131 dsa_g(struct sshkey *k) in dsa_g() 142 dsa_pub_key(struct sshkey *k) in dsa_pub_key() 153 dsa_priv_key(struct sshkey *k) in dsa_priv_key()
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | der_free.c | 115 k->data = NULL; in der_free_octet_string() argument 92 der_free_bmp_string(heim_bmp_string * k) der_free_bmp_string() argument 100 der_free_universal_string(heim_universal_string * k) der_free_universal_string() argument 123 der_free_heim_integer(heim_integer * k) der_free_heim_integer() argument 131 der_free_oid(heim_oid * k) der_free_oid() argument 139 der_free_bit_string(heim_bit_string * k) der_free_bit_string() argument [all...] |
H A D | der_length.c | 192 der_length_octet_string(const heim_octet_string * k) der_length_octet_string() argument 198 der_length_heim_integer(const heim_integer * k) der_length_heim_integer() argument 209 der_length_oid(const heim_oid * k) der_length_oid() argument 217 heim_octet_string k; der_length_generalized_time() local 229 heim_octet_string k; der_length_utctime() local 239 der_length_boolean(const int * k) der_length_boolean() argument 245 der_length_bit_string(const heim_bit_string * k) der_length_bit_string() argument [all...] |
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_cam.c | 110 rtwn_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in rtwn_key_alloc() 183 rtwn_key_set_cb0(struct rtwn_softc *sc, const struct ieee80211_key *k) in rtwn_key_set_cb0() 255 const struct ieee80211_key *k = &data->key; in rtwn_key_set_cb() local 269 const struct ieee80211_key *k = rvp->keys[i]; in rtwn_init_static_keys() local 283 struct ieee80211_key *k = &data->key; in rtwn_key_del_cb() local 300 rtwn_process_key(struct ieee80211vap *vap, const struct ieee80211_key *k, in rtwn_process_key() 331 rtwn_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in rtwn_key_set() 337 rtwn_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in rtwn_key_delete()
|
/freebsd/sys/libkern/ |
H A D | jenkins_hash.c | 44 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 150 const uint32_t *k, /* the key, an array of uint32_t values */ in jenkins_hash32() 222 const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ in jenkins_hash() local 264 const uint16_t *k = (const uint16_t *)key; /* read 16-bit chunks */ in jenkins_hash() local 311 const uint8_t *k = (const uint8_t *)key; in jenkins_hash() local 375 const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ in jenkins_hash() local 417 const uint8_t *k = (const uint8_t *)key; in jenkins_hash() local
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ThreadSafeDenseMap.h | 25 void Insert(_KeyType k, _ValueType v) { in Insert() 30 void Erase(_KeyType k) { in Erase() 35 _ValueType Lookup(_KeyType k) { in Lookup() 40 bool Lookup(_KeyType k, _ValueType &v) { in Lookup()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 200 int i, j, k; member 787 unsigned i, j, k, cnt; in parse_torus() local 867 unsigned i, j, k, n; in parse_port_order() local 1286 unsigned k, p; in diagnose_fabric() local 1384 int i, int j, int k, struct f_switch *fsw) in install_tswitch() 1424 unsigned set_fp_bit(bool present, int i, int j, int k) in set_fp_bit() 1439 unsigned fingerprint(struct torus *t, int i, int j, int k) in fingerprint() 1665 bool link_srcsink(struct torus *t, int i, int j, int k) in link_srcsink() 2034 bool safe_x_ring(struct torus *t, int i, int j, int k) in safe_x_ring() 2090 bool safe_y_ring(struct torus *t, int i, int j, int k) in safe_y_ring() [all …]
|
/freebsd/sys/dev/kbd/ |
H A D | kbdreg.h | 168 #define KBD_IS_VALID(k) ((k)->kb_flags & KB_VALID) argument 169 #define KBD_VALID(k) ((k)->kb_flags |= KB_VALID) argument 170 #define KBD_INVALID(k) ((k)->kb_flags &= ~KB_VALID) argument 171 #define KBD_HAS_DEVICE(k) (!((k)->kb_flags & KB_NO_DEVICE)) argument 172 #define KBD_FOUND_DEVICE(k) ((k)->kb_flags &= ~KB_NO_DEVICE) argument 173 #define KBD_IS_PROBED(k) ((k)->kb_flags & KB_PROBED) argument 174 #define KBD_PROBE_DONE(k) ((k)->kb_flags |= KB_PROBED) argument 175 #define KBD_IS_INITIALIZED(k) ((k)->kb_flags & KB_INITIALIZED) argument 176 #define KBD_INIT_DONE(k) ((k)->kb_flags |= KB_INITIALIZED) argument 177 #define KBD_IS_CONFIGURED(k) ((k)->kb_flags & KB_REGISTERED) argument [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ |
H A D | stream_chacha20.c | 54 const unsigned char *n, const unsigned char *k) in crypto_stream_chacha20() 61 const unsigned char *n, const unsigned char *k) in crypto_stream_chacha20_ietf() 70 const unsigned char *k) in crypto_stream_chacha20_xor_ic() 79 const unsigned char *k) in crypto_stream_chacha20_ietf_xor_ic() 87 const unsigned char *k) in crypto_stream_chacha20_xor() 95 const unsigned char *k) in crypto_stream_chacha20_ietf_xor()
|
/freebsd/contrib/blocklist/bin/ |
H A D | state.c | 103 dumpkey(const struct conf *k) in dumpkey() 117 DBT k; in state_del() local 143 DBT k, v; in state_get() local 171 DBT k, v; in state_put() local 201 DBT k, v; in state_iterate() local
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | memmem.c | 38 twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem() 47 threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem() 57 fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem() 83 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 174 memmem(const void *h0, size_t k, const void *n0, size_t l) in memmem()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_box/ |
H A D | crypto_box_easy.c | 15 const unsigned char *n, const unsigned char *k) in crypto_box_detached_afternm() 26 unsigned char k[crypto_box_BEFORENMBYTES]; in crypto_box_detached() local 42 const unsigned char *k) in crypto_box_easy_afternm() 68 const unsigned char *k) in crypto_box_open_detached_afternm() 79 unsigned char k[crypto_box_BEFORENMBYTES]; in crypto_box_open_detached() local 94 const unsigned char *k) in crypto_box_open_easy_afternm()
|
/freebsd/crypto/heimdal/include/ |
H A D | heim_threads.h | 79 #define HEIMDAL_key_create(k,d,r) do { r = thr_keycreate(k,d); } while(0) argument 80 #define HEIMDAL_setspecific(k,s,r) do { r = thr_setspecific(k,s); } while(0) argument 81 #define HEIMDAL_getspecific(k) thr_getspecific(k) argument 82 #define HEIMDAL_key_delete(k) thr_keydelete(k) argument 106 #define HEIMDAL_key_create(k,d,r) do { r = pthread_key_create(k,d); } while(0) argument 107 #define HEIMDAL_setspecific(k,s,r) do { r = pthread_setspecific(k,s); } while(0) argument 108 #define HEIMDAL_getspecific(k) pthread_getspecific(k) argument 109 #define HEIMDAL_key_delete(k) pthread_key_delete(k) argument 166 #define HEIMDAL_key_create(k,d,r) \ argument 168 #define HEIMDAL_setspecific(k,s,r) do { (k).value = s ; r = 0; } while(0) argument [all …]
|
/freebsd/crypto/openssh/ |
H A D | sshkey-xmss.c | 57 u_int32_t n, w, h, k; member 268 sshkey_xmss_init_enc_key(struct sshkey *k, const char *ciphername) in sshkey_xmss_init_enc_key() 293 sshkey_xmss_serialize_enc_key(const struct sshkey *k, struct sshbuf *b) in sshkey_xmss_serialize_enc_key() 309 sshkey_xmss_deserialize_enc_key(struct sshkey *k, struct sshbuf *b) in sshkey_xmss_deserialize_enc_key() 325 sshkey_xmss_serialize_pk_info(const struct sshkey *k, struct sshbuf *b, in sshkey_xmss_serialize_pk_info() 346 sshkey_xmss_deserialize_pk_info(struct sshkey *k, struct sshbuf *b) in sshkey_xmss_deserialize_pk_info() 368 sshkey_xmss_generate_private_key(struct sshkey *k, int bits) in sshkey_xmss_generate_private_key() 396 sshkey_xmss_get_state_from_file(struct sshkey *k, const char *filename, in sshkey_xmss_get_state_from_file() 445 sshkey_xmss_get_state(const struct sshkey *k, int printerror) in sshkey_xmss_get_state() 535 sshkey_xmss_forward_state(const struct sshkey *k, u_int32_t reserve) in sshkey_xmss_forward_state() [all …]
|
/freebsd/lib/libc/string/ |
H A D | memmem.c | 29 twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem() 39 threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem() 50 fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem() 79 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 184 memmem(const void *h0, size_t k, const void *n0, size_t l) in memmem()
|
/freebsd/lib/libc/db/hash/ |
H A D | hash_func.c | 66 u_int8_t *k; in hash1() local 86 u_int8_t *e, c, *k; in hash2() local 112 u_int8_t *k; in hash3() local 152 const u_int8_t *k; in hash4() local
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_jhash.h | 39 #define rot(x, k) (((x) << (k)) | ((x) >> (32-(k)))) argument 65 #define BIT_SHIFT(x, y, k) (((x) >> (k)) | ((uint64_t)(y) << (32-(k)))) argument 89 const uint32_t *k = (const uint32_t *)key; in __rte_jhash_2hashes() local 92 const uint32_t *k = (uint32_t *)((uintptr_t)key & (uintptr_t)~3); in __rte_jhash_2hashes() local 251 rte_jhash_32b_2hashes(const uint32_t *k, uint32_t length, uint32_t *pc, uint32_t *pb) in rte_jhash_32b_2hashes() 297 rte_jhash_32b(const uint32_t *k, uint32_t length, uint32_t initval) in rte_jhash_32b()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretbox/ |
H A D | crypto_secretbox_easy.c | 20 const unsigned char *k) in crypto_secretbox_detached() 73 const unsigned char *k) in crypto_secretbox_easy() 87 const unsigned char *k) in crypto_secretbox_open_detached() 136 const unsigned char *k) in crypto_secretbox_open_easy()
|
/freebsd/contrib/unbound/util/storage/ |
H A D | lookup3.c | 118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 233 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() 285 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() 366 const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ in hashlittle() local 450 const uint16_t *k = (const uint16_t *)key; /* read 16-bit chunks */ in hashlittle() local 507 const uint8_t *k = (const uint8_t *)key; in hashlittle() local 602 const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ in hashlittle2() local 686 const uint16_t *k = (const uint16_t *)key; /* read 16-bit chunks */ in hashlittle2() local 743 const uint8_t *k = (const uint8_t *)key; in hashlittle2() local 1013 uint32_t c[HASHSTATE], d[HASHSTATE], i=0, j=0, k, l, m=0, z; in driver2() local
|