Searched refs:key (Results 76 - 100 of 2274) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/net/
H A Dtoeplitz.c38 toeplitz_hash(u_int keylen, const uint8_t *key, u_int datalen, argument
44 /* XXXRW: Perhaps an assertion about key length vs. data length? */
46 v = (key[0]<<24) + (key[1]<<16) + (key[2] <<8) + key[3];
53 (key[i+4] & (1<<(7-b))))
H A Dtoeplitz.h37 uint32_t toeplitz_hash(u_int keylen, const uint8_t *key,
/freebsd-11-stable/usr.bin/getconf/
H A Dgetconf.c47 static void do_confstr(const char *name, int key);
48 static void do_sysconf(const char *name, int key);
49 static void do_pathconf(const char *name, int key, const char *path);
65 int c, key, valid; local
126 if ((valid = find_confstr(name, &key)) != 0) {
128 do_confstr(name, key);
132 valid = find_sysconf(name, &key);
134 do_sysconf(name, key);
143 valid = find_pathconf(name, &key);
146 do_pathconf(name, key, arg
158 do_onestr(const char *name, int key) argument
180 do_onesys(const char *name, int key) argument
206 do_onepath(const char *name, int key, const char *path) argument
229 do_confstr(const char *name, int key) argument
252 do_sysconf(const char *name, int key) argument
267 do_pathconf(const char *name, int key, const char *path) argument
[all...]
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_siphash.h45 * hash (or MAC) from the message and a 128bit key.
56 /** size of the siphash key */
62 * from a message and a 128bit (APR_SIPHASH_KSIZE) secret key.
65 * @param key The secret key
71 const unsigned char key[APR_SIPHASH_KSIZE],
76 * from a message and a 128bit (APR_SIPHASH_KSIZE) secret key, into a possibly
82 * @param key The secret key
89 const unsigned char key[APR_SIPHASH_KSIZ
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_user.h51 __u64 key; member in struct:iwch_create_cq_resp_v0
57 uint64_t key; member in struct:iwch_create_cq_resp
65 uint64_t key; member in struct:iwch_create_qp_resp
/freebsd-11-stable/contrib/subversion/subversion/svn/
H A Dsimilarity.c45 svn_string_t key; /* The token we're comparing with */
52 simcheck_key_diff(const svn_string_t *key, const svn_string_t *ctx,
56 const apr_size_t score = svn_string__similarity(key, ctx, buffer, &lcs);
57 if (key->len > ctx->len)
58 *diff = key->len - lcs;
74 keya->score = simcheck_key_diff(&keya->token, &context->key,
77 keyb->score = simcheck_key_diff(&keyb->token, &context->key,
87 svn_cl__similarity_check(const char *key,
96 context.key.data = key;
43 svn_string_t key; /* The token we're comparing with */ member in struct:svn_cl__simcheck_context_t
50 simcheck_key_diff(const svn_string_t *key, const svn_string_t *ctx, svn_membuf_t *buffer, apr_size_t *diff) argument
85 svn_cl__similarity_check(const char *key, svn_cl__simcheck_t **tokens, apr_size_t token_count, apr_pool_t *scratch_pool) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A DUnicodeData.py52 key = int(f[0], 0x10)
53 if key in ret:
54 raise Exception('Duplicate key in UnicodeData')
55 ret[key] = f[1:]
H A Dcombining_table.h10 uint32_t key; member in struct:translation
/freebsd-11-stable/crypto/openssl/crypto/rc4/
H A Drc4.h79 void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
80 void private_RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
81 void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
/freebsd-11-stable/contrib/unbound/util/storage/
H A Ddnstree.c87 node->node.key = node;
99 node->node.key = node;
169 struct name_tree_node key; local
170 key.node.key = &key;
171 key.name = name;
172 key.len = len;
173 key.labs = labs;
174 key
183 struct name_tree_node key; local
215 struct addr_tree_node key; local
245 struct addr_tree_node key; local
257 struct name_tree_node key; local
[all...]
/freebsd-11-stable/contrib/libreadline/
H A Dvi_mode.c153 _rl_vi_set_last (key, repeat, sign)
154 int key, repeat, sign;
156 _rl_vi_last_command = key;
164 rl_vi_start_inserting (key, repeat, sign)
165 int key, repeat, sign;
167 _rl_vi_set_last (key, repeat, sign);
168 rl_vi_insertion_mode (1, key);
233 rl_vi_undo (count, key)
234 int count, key;
236 return (rl_undo_command (count, key));
993 int key; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dthread.c75 isc_thread_key_getspecific(isc_thread_key_t key) { argument
76 return(TlsGetValue(key));
80 isc_thread_key_setspecific(isc_thread_key_t key, void *value) { argument
81 return (TlsSetValue(key, value) ? 0 : GetLastError());
85 isc_thread_key_create(isc_thread_key_t *key, void (*func)(void *)) { argument
86 *key = TlsAlloc();
88 return ((*key != -1) ? 0 : GetLastError());
92 isc_thread_key_delete(isc_thread_key_t key) { argument
93 return (TlsFree(key) ? 0 : GetLastError());
/freebsd-11-stable/contrib/dialog/
H A Dmousewget.c31 int key; local
35 key = dlg_getc(win, fkey);
40 if (key == KEY_MOUSE) {
46 key = DLGK_MOUSE(p->code);
52 key = -(p->code);
55 key += y;
58 key += (x / p->step_x);
62 key += (x / p->step_x) + (y * row);
78 return key;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dchanges-table.h57 key, but simply adds this new record alongside previous ones. */
59 const char *key,
68 const char *key,
78 const char *key,
87 const char *key,
H A Dreps-table.h54 /* Set *REP_P to point to the representation for the key KEY in
61 const char *key,
69 const char *key,
75 /* Store REP as a new representation in FS, and the new rep's key in
76 *KEY, as part of trail. The new key is allocated in POOL. */
77 svn_error_t *svn_fs_bdb__write_new_rep(const char **key,
87 const char *key,
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Ddes_i.h17 void des_key_setup(const u8 *key, u32 *ek, u32 *dk);
21 void des3_key_setup(const u8 *key, struct des3_key_s *dkey);
22 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
23 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
/freebsd-11-stable/crypto/heimdal/lib/gssapi/ntlm/
H A Drelease_cred.c56 if (cred->key.data) {
57 memset(cred->key.data, 0, cred->key.length);
58 free(cred->key.data);
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_ht.h72 uintptr_t key; member in struct:ck_ht_entry
76 uintptr_t key;
97 * second argument is the key, third argument is key length and final argument
138 return entry->key == CK_HT_KEY_EMPTY;
142 ck_ht_entry_key_set_direct(ck_ht_entry_t *entry, uintptr_t key) argument
145 entry->key = key;
150 ck_ht_entry_key_set(ck_ht_entry_t *entry, const void *key, uint16_t key_length) argument
154 entry->key
197 ck_ht_entry_set(struct ck_ht_entry *entry, ck_ht_hash_t h, const void *key, uint16_t key_length, const void *value) argument
218 ck_ht_entry_set_direct(struct ck_ht_entry *entry, ck_ht_hash_t h, uintptr_t key, uintptr_t value) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dobject_pool.c51 svn_membuf_t key;
74 * In shared object mode, there is at most one such entry per key and it
77 * instances for the key. */
129 apr_hash_set(object_pool->objects, object_ref->key.data,
130 object_ref->key.size, NULL);
192 svn_membuf_t *key,
196 = apr_hash_get(object_pool->objects, key->data, key->size);
218 const svn_membuf_t *key,
224 = apr_hash_get(object_pool->objects, key
49 svn_membuf_t key; member in struct:object_ref_t
187 lookup(void **object, svn_object_pool__t *object_pool, svn_membuf_t *key, apr_pool_t *result_pool) argument
213 insert(void **object, svn_object_pool__t *object_pool, const svn_membuf_t *key, void *item, apr_pool_t *item_pool, apr_pool_t *result_pool) argument
303 svn_object_pool__lookup(void **object, svn_object_pool__t *object_pool, svn_membuf_t *key, apr_pool_t *result_pool) argument
315 svn_object_pool__insert(void **object, svn_object_pool__t *object_pool, const svn_membuf_t *key, void *item, apr_pool_t *item_pool, apr_pool_t *result_pool) argument
[all...]
/freebsd-11-stable/contrib/unbound/services/cache/
H A Drrset.c54 rrset_markdel(void* key) argument
56 struct ub_packed_rrset_key* r = (struct ub_packed_rrset_key*)key;
95 rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key, argument
116 lock_rw_rdlock(&key->entry.lock);
117 if(key->id == id && key->entry.hash == hash) {
118 lru_touch(table, &key->entry);
120 lock_rw_unlock(&key->entry.lock);
169 /** Update RRSet special key ID */
176 lock_rw_wrlock(&ref->key
281 struct ub_packed_rrset_key key; local
446 struct ub_packed_rrset_key key; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_key.c160 /* copy the public key */
170 /* copy the private key */
363 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, argument
374 if (!key || !key->group || !x || !y) {
383 point = EC_POINT_new(key->group);
394 tmp_nid = EC_METHOD_get_field_type(EC_GROUP_method_of(key->group));
400 if (!EC_POINT_set_affine_coordinates_GF2m(key->group, point,
403 if (!EC_POINT_get_affine_coordinates_GF2m(key->group, point,
409 if (!EC_POINT_set_affine_coordinates_GFp(key
442 EC_KEY_get0_group(const EC_KEY *key) argument
447 EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) argument
455 EC_KEY_get0_private_key(const EC_KEY *key) argument
460 EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key) argument
468 EC_KEY_get0_public_key(const EC_KEY *key) argument
473 EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) argument
481 EC_KEY_get_enc_flags(const EC_KEY *key) argument
486 EC_KEY_set_enc_flags(EC_KEY *key, unsigned int flags) argument
491 EC_KEY_get_conv_form(const EC_KEY *key) argument
496 EC_KEY_set_conv_form(EC_KEY *key, point_conversion_form_t cform) argument
503 EC_KEY_get_key_method_data(EC_KEY *key, void *(*dup_func) (void *), void (*free_func) (void *), void (*clear_free_func) (void *)) argument
519 EC_KEY_insert_key_method_data(EC_KEY *key, void *data, void *(*dup_func) (void *), void (*free_func) (void *), void (*clear_free_func) (void *)) argument
538 EC_KEY_set_asn1_flag(EC_KEY *key, int flag) argument
544 EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) argument
551 EC_KEY_get_flags(const EC_KEY *key) argument
556 EC_KEY_set_flags(EC_KEY *key, int flags) argument
561 EC_KEY_clear_flags(EC_KEY *key, int flags) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/include/
H A Dsvn_hash.h165 /** Hash key status indicator for svn_hash_diff_func_t. */
179 /** Function type for expressing a key's status between two hash tables. */
181 (const void *key, apr_ssize_t klen,
188 * For each key in the union of @a hash_a's and @a hash_b's keys, invoke
189 * @a diff_func exactly once, passing the key, the key's length, an enum
190 * @c svn_hash_diff_key_status indicating which table(s) the key appears
236 * match their corresponding key. Use @a pool for all allocations
248 * gain type checking for the 'key' parameter which the basic apr_hash_* APIs
257 svn_hash__gets_debug(apr_hash_t *ht, const char *key);
[all...]
/freebsd-11-stable/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86.pl24 # 128-bit key setup 196 280 256 240 cycles/key
49 $key="edi";
59 $__end=&DWP(20,"esp"); # pointer to end/start of key schedule
62 # above by 4 and overlaps by pointer to end/start of key schedule
84 &xor ($t0,$idx); # t0^=key[0]
85 &xor ($t1,&DWP($seed+$i*$scale+4,$key)); # t1^=key[1]
109 &mov ($idx,&DWP($seed+($i+1)*$scale,$key)); # prefetch key[
[all...]
/freebsd-11-stable/crypto/openssl/crypto/des/asm/
H A Ddest4-sparcv9.pl90 { my ($inp,$out,$len,$key,$ivec) = map("%o$_",(0..4));
117 ldd [$key + 0x00], %f4 ! load key schedule
118 ldd [$key + 0x08], %f6
119 ldd [$key + 0x10], %f8
120 ldd [$key + 0x18], %f10
121 ldd [$key + 0x20], %f12
122 ldd [$key + 0x28], %f14
123 ldd [$key + 0x30], %f16
124 ldd [$key
[all...]
/freebsd-11-stable/lib/libnv/tests/
H A Ddnv_tests.cc40 const char *key; local
45 key = "name";
47 nvlist_add_bool(nvl, key, value);
49 ATF_REQUIRE_EQ(dnvlist_get_bool(nvl, key, false), value);
59 const char *key; local
61 key = "123";
64 ATF_REQUIRE_EQ(dnvlist_get_bool(nvl, key, false), false);
67 nvlist_add_bool(nvl, key, true);
79 const char *key; local
84 key
98 const char *key; local
117 const char *key; local
138 const char *key; local
162 const char *key; local
183 const char *key; local
232 const char *key; local
273 const char *key; local
317 const char *key; local
361 const char *key; local
418 const char *key; local
480 const char *key; local
[all...]

Completed in 275 milliseconds

1234567891011>>