Searched refs:key (Results 51 - 75 of 2805) sorted by relevance

1234567891011>>

/freebsd-current/lib/libthr/thread/
H A Dthr_pshared.c40 void *key; member in struct:psh
47 #define PSHARED_KEY_HASH(key) (((unsigned long)(key) >> 8) % HASH_SIZE)
125 pshared_lookup(void *key) argument
130 hd = &pshared_hash[PSHARED_KEY_HASH(key)];
132 if (h->key == key)
139 pshared_insert(void *key, void **val) argument
144 hd = &pshared_hash[PSHARED_KEY_HASH(key)];
147 * When the key alread
186 pshared_remove(void *key) argument
205 pshared_clean(void *key, void *val) argument
214 pshared_destroy(struct pthread *curthread, void *key) argument
225 __thr_pshared_offpage(void *key, int doalloc) argument
261 __thr_pshared_destroy(void *key) argument
[all...]
H A Dthr_spec.c57 _thr_key_create(pthread_key_t *key, void (*destructor)(void *)) argument
75 *key = i + 1;
88 int key, ret; local
90 key = userkey - 1;
91 if ((unsigned int)key >= PTHREAD_KEYS_MAX)
95 if (_thread_keytable[key].allocated) {
96 _thread_keytable[key].allocated = 0;
111 int i, key; local
119 for (key = 0; key < PTHREAD_KEYS_MA
172 pthread_key_t key; local
202 pthread_key_t key; local
230 int key; local
[all...]
/freebsd-current/contrib/bearssl/tools/
H A Dxmem.c86 pk2->key.rsa.n = xblobdup(pk->key.rsa.n, pk->key.rsa.nlen);
87 pk2->key.rsa.nlen = pk->key.rsa.nlen;
88 pk2->key.rsa.e = xblobdup(pk->key.rsa.e, pk->key.rsa.elen);
89 pk2->key.rsa.elen = pk->key
[all...]
/freebsd-current/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl_x86-64.c31 * Expand the 32-bit AES cipher key array into the encryption and decryption
32 * key schedules.
35 * key AES key schedule to be initialized
36 * keyarr32 User key
37 * keyBits AES key size (128, 192, or 256 bits)
40 aes_x86_64_generate(aes_key_t *key, const uint32_t *keyarr32, int keybits) argument
42 key->nr = rijndael_key_setup_enc_amd64(&(key->encr_ks.ks32[0]),
44 key
[all...]
/freebsd-current/contrib/googletest/googletest/test/
H A Dgtest_json_test_utils.py46 def _normalize(key, value):
47 if key == 'time':
49 elif key == 'timestamp':
51 elif key == 'failure':
54 elif key == 'file':
/freebsd-current/lib/libc/tests/stdlib/
H A Dtsearch_test.c94 int key = nrand48(random_state) % NKEYS; local
106 if (present[key]) {
107 ATF_CHECK(tdelete(&key, &root, compar) != NULL);
108 present[key] = false;
113 tdelete(&key, &root, compar));
117 if (present[key]) {
118 ATF_CHECK_EQ(&keys[key],
119 *(int **)tfind(&key, &root, compar));
121 ATF_CHECK_EQ(NULL, tfind(&key, &root, compar));
125 if (present[key]) {
[all...]
/freebsd-current/crypto/openssh/regress/
H A Dkeygen-convert.sh17 # generate user key for agent
18 trace "generating $t key"
19 rm -f $OBJ/$t-key
20 ${SSHKEYGEN} -q -N "" -t $t -f $OBJ/$t-key
24 ${SSHKEYGEN} -q -e -f $OBJ/$t-key >$OBJ/$t-key-rfc || \
28 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \
31 cmp $OBJ/$t-key-rfc $OBJ/$t-key
[all...]
H A Dkeygen-change.sh4 tid="change passphrase for key"
10 trace "generating $t key"
11 rm -f $OBJ/$t-key
12 ${SSHKEYGEN} -q -N ${S1} -t $t -f $OBJ/$t-key
14 ${SSHKEYGEN} -p -P ${S1} -N ${S2} -f $OBJ/$t-key > /dev/null
16 fail "ssh-keygen -p failed for $t-key"
19 fail "ssh-keygen for $t-key failed"
21 rm -f $OBJ/$t-key $OBJ/$t-key.pub
/freebsd-current/usr.bin/fortune/tools/
H A Ddo_uniq.py39 key = hash(fortune)
40 if key not in dups:
41 dups[key] = []
42 dups[key].append(fortune)
47 for key in list(dups.keys()):
48 if len(dups[key]) == 1:
49 del dups[key]
52 key = hash(fortune)
53 if key in dups:
55 for f in dups[key]
[all...]
/freebsd-current/crypto/openssl/crypto/chacha/
H A Dchacha_ppc.c18 size_t len, const unsigned int key[8],
21 size_t len, const unsigned int key[8],
24 size_t len, const unsigned int key[8],
27 size_t len, const unsigned int key[8],
31 ? ChaCha20_ctr32_vsx(out, inp, len, key, counter)
33 ? ChaCha20_ctr32_vmx(out, inp, len, key, counter)
34 : ChaCha20_ctr32_int(out, inp, len, key, counter);
26 ChaCha20_ctr32(unsigned char *out, const unsigned char *inp, size_t len, const unsigned int key[8], const unsigned int counter[4]) argument
/freebsd-current/lib/libc/stdlib/
H A Dlsearch.c19 void *lsearch(const void *key, void *base, size_t *nelp, size_t width, argument
23 return (lwork(key, base, nelp, width, compar, 1));
26 void *lfind(const void *key, const void *base, size_t *nelp, size_t width, argument
30 return (lwork(key, base, nelp, width, compar, 0));
34 lwork(const void *key, const void *base, size_t *nelp, size_t width, argument
41 if (compar(key, ep) == 0)
45 /* lfind() shall return when the key was not found. */
50 * lsearch() adds the key to the end of the table and increments
53 memcpy(endp, key, width);
/freebsd-current/crypto/openssl/include/openssl/
H A Daes.h52 AES_KEY *key);
55 AES_KEY *key);
58 const AES_KEY *key);
61 const AES_KEY *key);
64 const AES_KEY *key, const int enc);
67 size_t length, const AES_KEY *key,
71 size_t length, const AES_KEY *key,
75 size_t length, const AES_KEY *key,
79 size_t length, const AES_KEY *key,
83 size_t length, const AES_KEY *key,
[all...]
H A Dcamellia.h60 CAMELLIA_KEY *key);
63 const CAMELLIA_KEY *key);
66 const CAMELLIA_KEY *key);
69 const CAMELLIA_KEY *key,
74 const CAMELLIA_KEY *key,
80 const CAMELLIA_KEY *key,
87 const CAMELLIA_KEY *key,
94 const CAMELLIA_KEY *key,
101 const CAMELLIA_KEY *key,
106 size_t length, const CAMELLIA_KEY *key,
[all...]
/freebsd-current/tests/sys/sys/
H A Dsplay_test.c37 int key; member in struct:node
45 if (a->key < b->key) return (-1);
46 else if (a->key > b->key) return (1);
72 tmp->key = arc4random_uniform(MAX-MIN);
73 tmp->key += MIN;
76 max = min = tmp->key;
78 if (tmp->key > max)
79 max = tmp->key;
[all...]
/freebsd-current/contrib/llvm-project/lldb/bindings/interface/
H A DSBInstructionListExtensions.i15 def __getitem__(self, key):
17 if type(key) is int:
20 if -count <= key < count:
21 key %= count
22 return self.GetInstructionAtIndex(key)
23 elif type(key) is SBAddress:
25 lookup_file_addr = key.file_addr
/freebsd-current/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c100 struct sroute key; local
120 key.index[0] = (ha >> 24) & 0xff;
121 key.index[1] = (ha >> 16) & 0xff;
122 key.index[2] = (ha >> 8) & 0xff;
123 key.index[3] = (ha >> 0) & 0xff;
126 key.index[4] = (ha >> 24) & 0xff;
127 key.index[5] = (ha >> 16) & 0xff;
128 key.index[6] = (ha >> 8) & 0xff;
129 key.index[7] = (ha >> 0) & 0xff;
132 key
287 struct sroute key; local
306 struct sroute key; local
[all...]
/freebsd-current/usr.sbin/iovctl/
H A Dparse.c46 report_config_error(const char *key, const ucl_object_t *obj, const char *type) argument
49 errx(1, "Value '%s' of key '%s' is not of type %s",
50 ucl_object_tostring(obj), key, type);
58 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) argument
63 report_config_error(key, obj, "bool");
65 nvlist_add_bool(config, key, val);
73 add_string_config(const char *key, const ucl_object_t *obj, nvlist_t *config) argument
78 report_config_error(key, obj, "string");
80 nvlist_add_string(config, key, val);
88 add_uint_config(const char *key, cons argument
113 add_unicast_mac_config(const char *key, const ucl_object_t *obj, nvlist_t *config) argument
168 add_config(const char *key, const ucl_object_t *obj, nvlist_t *config, const nvlist_t *schema) argument
206 const char *key; local
261 const char *errmsg, *key; local
338 const char *key, *device; local
374 const char *errmsg, *key; local
[all...]
/freebsd-current/crypto/openssl/crypto/
H A Dparam_build_set.c14 * fill in parameter data for the same key and data fields.
23 const char *key, int num)
26 return OSSL_PARAM_BLD_push_int(bld, key, num);
27 p = OSSL_PARAM_locate(p, key);
34 const char *key, long num)
37 return OSSL_PARAM_BLD_push_long(bld, key, num);
38 p = OSSL_PARAM_locate(p, key);
45 const char *key, const char *buf)
48 return OSSL_PARAM_BLD_push_utf8_string(bld, key, buf, 0);
49 p = OSSL_PARAM_locate(p, key);
33 ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, long num) argument
44 ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, const char *buf) argument
55 ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, const unsigned char *data, size_t data_len) argument
69 ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, const BIGNUM *bn, size_t sz) argument
84 ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, const BIGNUM *bn) argument
[all...]
/freebsd-current/tools/tools/mtxstat/
H A Dmtxstat.pl42 my $key; # Sort key
55 $key = 'avg';
59 $key = 'count';
63 $key = 'max';
65 $key = 'total';
79 if (defined($key) && !grep(/^$key$/, @names)) {
80 die("can't find sort key '$key' i
[all...]
/freebsd-current/sys/dev/drm2/
H A Ddrm_hashtab.c57 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) argument
64 hashed_key = hash32_buf(&key, sizeof(key), ht->order);
65 DRM_DEBUG("Key is 0x%08lx, Hashed key is 0x%08x\n", key, hashed_key);
68 DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key);
72 unsigned long key)
78 hashed_key = hash32_buf(&key, sizeof(key), h
71 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument
95 unsigned long key = item->key; local
145 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument
159 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument
[all...]
/freebsd-current/crypto/openssh/
H A Dssh-xmss.c69 ssh_xmss_serialize_public(const struct sshkey *key, struct sshbuf *b, argument
74 if (key->xmss_name == NULL || key->xmss_pk == NULL ||
75 sshkey_xmss_pklen(key) == 0)
77 if ((r = sshbuf_put_cstring(b, key->xmss_name)) != 0 ||
78 (r = sshbuf_put_string(b, key->xmss_pk,
79 sshkey_xmss_pklen(key))) != 0 ||
80 (r = sshkey_xmss_serialize_pk_info(key, b, opts)) != 0)
87 ssh_xmss_serialize_private(const struct sshkey *key, struct sshbuf *b, argument
92 if (key
132 ssh_xmss_deserialize_public(const char *ktype, struct sshbuf *b, struct sshkey *key) argument
164 ssh_xmss_deserialize_private(const char *ktype, struct sshbuf *b, struct sshkey *key) argument
201 ssh_xmss_sign(struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, const char *sk_provider, const char *sk_pin, u_int compat) argument
277 ssh_xmss_verify(const struct sshkey *key, const u_char *sig, size_t siglen, const u_char *data, size_t dlen, const char *alg, u_int compat, struct sshkey_sig_details **detailsp) argument
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/
H A Dzfs_unload-key.ksh22 . $STF_SUITE/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib
26 # 'zfs unload-key' should only unload the key of an unmounted dataset.
29 # 1. Attempt to unload the default dataset's key
31 # 3. Attempt to unload the default dataset's key
33 # 5. Attempt to unload the dataset's key
34 # 6. Verify the key is loaded
36 # 8. Attempt to unload the dataset's key
37 # 9. Verify the key is not loaded
38 # 10. Attempt to unload the dataset's key
[all...]
/freebsd-current/crypto/openssl/crypto/camellia/
H A Dcmll_cfb.c26 size_t length, const CAMELLIA_KEY *key,
30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc,
36 size_t length, const CAMELLIA_KEY *key,
39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc,
44 size_t length, const CAMELLIA_KEY *key,
47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc,
25 Camellia_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) argument
35 Camellia_cfb1_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) argument
43 Camellia_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) argument
/freebsd-current/crypto/openssl/include/internal/
H A Dparam_build_set.h29 const char *key, int num);
31 const char *key, long num);
33 const char *key, const char *buf);
35 const char *key,
39 const char *key, const BIGNUM *bn);
41 const char *key, const BIGNUM *bn, size_t sz);
/freebsd-current/crypto/openssl/crypto/aes/
H A Daes_cfb.c26 size_t length, const AES_KEY *key,
30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc,
36 size_t length, const AES_KEY *key,
39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc,
44 size_t length, const AES_KEY *key,
47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc,
25 AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument
35 AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument
43 AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc) argument

Completed in 205 milliseconds

1234567891011>>