Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 2678) sorted by relevance

12345678910>>...108

/NextBSD/usr.sbin/bluetooth/hcsecd/
HDparser.y50 static void free_key (link_key_p key);
58 static link_key_p key = NULL; variable
76 key = (link_key_p) malloc(sizeof(*key));
77 if (key == NULL) {
83 memset(key, 0, sizeof(*key));
87 if (get_key(&key->bdaddr, 1) != NULL) {
90 bt_ntoa(&key->bdaddr, NULL));
91 free_key(key);
93 LIST_INSERT_HEAD(&link_keys, key, next);
95 key = NULL;
[all …]
/NextBSD/crypto/openssl/crypto/des/asm/
HDdest4-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 + 0x38], %f18
125 ldd [$key + 0x40], %f20
[all …]
/NextBSD/contrib/wpa/src/tls/
HDrsa.c64 struct crypto_rsa_key *key; in crypto_rsa_import_public_key() local
68 key = os_zalloc(sizeof(*key)); in crypto_rsa_import_public_key()
69 if (key == NULL) in crypto_rsa_import_public_key()
72 key->n = bignum_init(); in crypto_rsa_import_public_key()
73 key->e = bignum_init(); in crypto_rsa_import_public_key()
74 if (key->n == NULL || key->e == NULL) { in crypto_rsa_import_public_key()
75 crypto_rsa_free(key); in crypto_rsa_import_public_key()
98 pos = crypto_rsa_parse_integer(pos, end, key->n); in crypto_rsa_import_public_key()
99 pos = crypto_rsa_parse_integer(pos, end, key->e); in crypto_rsa_import_public_key()
111 return key; in crypto_rsa_import_public_key()
[all …]
/NextBSD/sys/geom/eli/
HDg_eli_key_cache.c76 g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) in g_eli_key_fill() argument
92 sizeof(hmacdata), key->gek_key, 0); in g_eli_key_fill()
93 key->gek_keyno = keyno; in g_eli_key_fill()
94 key->gek_count = 0; in g_eli_key_fill()
95 key->gek_magic = G_ELI_KEY_MAGIC; in g_eli_key_fill()
105 struct g_eli_key *key, *ekey, keysearch; in g_eli_key_allocate() local
110 key = malloc(sizeof(*key), M_ELI, M_WAITOK); in g_eli_key_allocate()
111 g_eli_key_fill(sc, key, keyno); in g_eli_key_allocate()
120 bzero(key, sizeof(*key)); in g_eli_key_allocate()
121 free(key, M_ELI); in g_eli_key_allocate()
[all …]
/NextBSD/crypto/openssl/crypto/evp/
HDe_rc4_hmac_md5.c80 void rc4_md5_enc(RC4_KEY *key, const void *in0, void *out,
89 EVP_RC4_HMAC_MD5 *key = data(ctx); in rc4_hmac_md5_init_key() local
91 RC4_set_key(&key->ks, EVP_CIPHER_CTX_key_length(ctx), inkey); in rc4_hmac_md5_init_key()
93 MD5_Init(&key->head); /* handy when benchmarking */ in rc4_hmac_md5_init_key()
94 key->tail = key->head; in rc4_hmac_md5_init_key()
95 key->md = key->head; in rc4_hmac_md5_init_key()
97 key->payload_length = NO_PAYLOAD_LENGTH; in rc4_hmac_md5_init_key()
118 EVP_RC4_HMAC_MD5 *key = data(ctx); in rc4_hmac_md5_cipher() local
120 size_t rc4_off = 32 - 1 - (key->ks.x & (32 - 1)), /* 32 is $MOD from in rc4_hmac_md5_cipher()
122 md5_off = MD5_CBLOCK - key->md.num, blocks; in rc4_hmac_md5_cipher()
[all …]
HDe_aes_cbc_hmac_sha1.c101 AES_KEY *key);
103 AES_KEY *key);
108 const AES_KEY *key, unsigned char *ivec, int enc);
111 const AES_KEY *key, unsigned char iv[16],
115 const AES_KEY *key, unsigned char iv[16],
124 EVP_AES_HMAC_SHA1 *key = data(ctx); in aesni_cbc_hmac_sha1_init_key() local
128 ret = aesni_set_encrypt_key(inkey, ctx->key_len * 8, &key->ks); in aesni_cbc_hmac_sha1_init_key()
130 ret = aesni_set_decrypt_key(inkey, ctx->key_len * 8, &key->ks); in aesni_cbc_hmac_sha1_init_key()
132 SHA1_Init(&key->head); /* handy when benchmarking */ in aesni_cbc_hmac_sha1_init_key()
133 key->tail = key->head; in aesni_cbc_hmac_sha1_init_key()
[all …]
HDe_aes_cbc_hmac_sha256.c101 AES_KEY *key);
103 AES_KEY *key);
108 const AES_KEY *key, unsigned char *ivec, int enc);
111 const AES_KEY *key, unsigned char iv[16],
120 EVP_AES_HMAC_SHA256 *key = data(ctx); in aesni_cbc_hmac_sha256_init_key() local
124 memset(&key->ks, 0, sizeof(key->ks.rd_key)), in aesni_cbc_hmac_sha256_init_key()
125 ret = aesni_set_encrypt_key(inkey, ctx->key_len * 8, &key->ks); in aesni_cbc_hmac_sha256_init_key()
127 ret = aesni_set_decrypt_key(inkey, ctx->key_len * 8, &key->ks); in aesni_cbc_hmac_sha256_init_key()
129 SHA256_Init(&key->head); /* handy when benchmarking */ in aesni_cbc_hmac_sha256_init_key()
130 key->tail = key->head; in aesni_cbc_hmac_sha256_init_key()
[all …]
/NextBSD/contrib/libreadline/
HDvi_mode.c153 _rl_vi_set_last (key, repeat, sign) in _rl_vi_set_last() argument
154 int key, repeat, sign; in _rl_vi_set_last()
156 _rl_vi_last_command = key;
164 rl_vi_start_inserting (key, repeat, sign) in rl_vi_start_inserting() argument
165 int key, repeat, sign; in rl_vi_start_inserting()
167 _rl_vi_set_last (key, repeat, sign);
168 rl_vi_insertion_mode (1, key);
233 rl_vi_undo (count, key) in rl_vi_undo() argument
234 int count, key; in rl_vi_undo()
236 return (rl_undo_command (count, key));
[all …]
/NextBSD/contrib/libxo/tests/core/saved/
HDtest_01.XP.out6 <sku test3="value3" key="key">GRO-000-415</sku>
7 <name key="key">gum</name>
13 <sku test3="value3" key="key">HRD-000-212</sku>
14 <name key="key">rope</name>
20 <sku test3="value3" key="key">HRD-000-517</sku>
21 <name key="key">ladder</name>
27 <sku test3="value3" key="key">HRD-000-632</sku>
28 <name key="key">bolt</name>
34 <sku test3="value3" key="key">GRO-000-2331</sku>
35 <name key="key">water</name>
[all …]
HDtest_01.X.out1key="key">GRO-000-415</sku><name key="key">gum</name><sold>1412</sold><in-stock>54</in-stock><on-o…
HDtest_10.XP.out10 <sku test3="value3" key="key">GRO-000-415</sku>
11 <name key="key">gum</name>
17 <sku test3="value3" key="key">HRD-000-212</sku>
18 <name key="key">rope</name>
24 <sku test3="value3" key="key">HRD-000-517</sku>
25 <name key="key">ladder</name>
31 <sku test3="value3" key="key">HRD-000-632</sku>
32 <name key="key">bolt</name>
38 <sku test3="value3" key="key">GRO-000-2331</sku>
39 <name key="key">water</name>
[all …]
HDtest_10.X.out1key="key">GRO-000-415</sku><name key="key">gum</name><sold>1412</sold><in-stock>54</in-stock><on-o…
HDtest_08.X.out1key="key">gum</name><count>1412</count></item><item><name key="key">rope</name><count>85</count></…
HDtest_08.XP.out5 <name key="key">gum</name>
9 <name key="key">rope</name>
13 <name key="key">ladder</name>
17 <name key="key">bolt</name>
21 <name key="key">water</name>
29 <name key="key">gum</name>
33 <name key="key">rope</name>
37 <name key="key">ladder</name>
41 <name key="key">bolt</name>
45 <name key="key">water</name>
[all …]
/NextBSD/sys/dev/nxge/xgehal/
HDxgehal-mgmtaux.c34 #define __hal_aux_snprintf(retbuf, bufsize, fmt, key, value, retsize) \ argument
36 retsize = xge_os_snprintf(retbuf, bufsize, fmt, key, \
40 #define __hal_aux_snprintf(retbuf, bufsize, fmt, key, value, retsize) \ argument
42 retsize = xge_os_sprintf(retbuf, fmt, key, XGE_HAL_AUX_SEPA, value); \
52 #define __HAL_AUX_ENTRY(key, value, fmt) \ argument
54 __hal_aux_snprintf(ptr, leftsize, "%s%c"fmt"\n", key, value, entrysize)
956 char key[XGE_OS_SPRINTF_STRLEN]; in xge_hal_aux_stats_hal_read() local
965 (void) xge_os_sprintf(key, "ring%d_", channel->post_qid); in xge_hal_aux_stats_hal_read()
967 xge_os_strcpy(key+6, "full_cnt"); in xge_hal_aux_stats_hal_read()
968 __HAL_AUX_ENTRY(key, chstat.full_cnt, "%u"); in xge_hal_aux_stats_hal_read()
[all …]
/NextBSD/lib/libxpc/
HDxpc_dictionary.c36 static void xpc2nv_primitive(nvlist_t *nv, const char *key, xpc_object_t value);
39 nv_release_entry(nvlist_t *nv, const char *key) in nv_release_entry() argument
43 if (nvlist_exists_type(nv, key, NV_TYPE_PTR)) { in nv_release_entry()
44 tmp = (void *)nvlist_take_number(nv, key); in nv_release_entry()
54 const char *key; in nv2xpc() local
69 while ((key = nvlist_next(nv, &type, &cookiep)) != NULL) { in nv2xpc()
74 val.b = nvlist_get_bool(nv, key); in nv2xpc()
79 val.str = nvlist_get_string(nv, key); in nv2xpc()
84 val.i = nvlist_get_int64(nv, key); in nv2xpc()
89 val.ui = nvlist_get_uint64(nv, key); in nv2xpc()
[all …]
/NextBSD/lib/libthr/thread/
HDthr_spec.c53 _pthread_key_create(pthread_key_t *key, void (*destructor)(void *)) in _pthread_key_create() argument
71 *key = i + 1; in _pthread_key_create()
84 int key, ret; in _pthread_key_delete() local
86 key = userkey - 1; in _pthread_key_delete()
87 if ((unsigned int)key >= PTHREAD_KEYS_MAX) in _pthread_key_delete()
91 if (_thread_keytable[key].allocated) { in _pthread_key_delete()
92 _thread_keytable[key].allocated = 0; in _pthread_key_delete()
107 int i, key; in _thread_cleanupspecific() local
115 for (key = 0; key < PTHREAD_KEYS_MAX && in _thread_cleanupspecific()
116 curthread->specific_data_count > 0; key++) { in _thread_cleanupspecific()
[all …]
/NextBSD/contrib/apr/threadproc/unix/
HDthreadpriv.c24 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, in apr_threadkey_private_create() argument
28 (*key) = (apr_threadkey_t *)apr_pcalloc(pool, sizeof(apr_threadkey_t)); in apr_threadkey_private_create()
30 if ((*key) == NULL) { in apr_threadkey_private_create()
34 (*key)->pool = pool; in apr_threadkey_private_create()
36 return pthread_key_create(&(*key)->key, dest); in apr_threadkey_private_create()
41 apr_threadkey_t *key) in apr_threadkey_private_get() argument
44 if (pthread_getspecific(key->key,new)) in apr_threadkey_private_get()
47 (*new) = pthread_getspecific(key->key); in apr_threadkey_private_get()
53 apr_threadkey_t *key) in apr_threadkey_private_set() argument
57 if ((stat = pthread_setspecific(key->key, priv)) == 0) { in apr_threadkey_private_set()
[all …]
/NextBSD/contrib/bsnmp/snmp_mibII/
HDmibII_route.c100 struct sroute key; in mib_sroute_process() local
120 key.index[0] = (ha >> 24) & 0xff; in mib_sroute_process()
121 key.index[1] = (ha >> 16) & 0xff; in mib_sroute_process()
122 key.index[2] = (ha >> 8) & 0xff; in mib_sroute_process()
123 key.index[3] = (ha >> 0) & 0xff; in mib_sroute_process()
126 key.index[4] = (ha >> 24) & 0xff; in mib_sroute_process()
127 key.index[5] = (ha >> 16) & 0xff; in mib_sroute_process()
128 key.index[6] = (ha >> 8) & 0xff; in mib_sroute_process()
129 key.index[7] = (ha >> 0) & 0xff; in mib_sroute_process()
132 key.index[8] = 0; in mib_sroute_process()
[all …]
/NextBSD/crypto/openssl/crypto/camellia/asm/
HDcmll-x86.pl49 $key="edi";
85 &xor ($t1,&DWP($seed+$i*$scale+4,$key)); # t1^=key[1]
109 &mov ($idx,&DWP($seed+($i+1)*$scale,$key)); # prefetch key[i+1]
124 &mov ($key,&wparam(2)); # load key schedule pointer
132 &lea ("ecx",&DWP(-64-63,$key));
140 &lea ("eax",&DWP(0,$key,"eax"));
188 &mov ($key,&wparam(2)); # load key schedule pointer
193 &mov ("eax",&DWP(272,$key)); # load grandRounds counter
197 &lea ("ecx",&DWP(-64-63,$key));
205 &lea ("eax",&DWP(0,$key,"eax"));
[all …]
HDcmllt4-sparcv9.pl59 my ($inp,$out,$key,$rounds,$tmp,$mask)=map("%o$_",(0..5));
70 ldx [$key + 0], %g4
71 ldx [$key + 8], %g5
86 ld [$key + 272], $rounds ! grandRounds, 3 or 4
87 ldd [$key + 16], %f12
88 ldd [$key + 24], %f14
91 ldd [$key + 32], %f16
92 ldd [$key + 40], %f18
95 ldd [$key + 48], %f20
96 ldd [$key + 56], %f22
[all …]
/NextBSD/usr.sbin/iovctl/
HDparse.c49 report_config_error(const char *key, const ucl_object_t *obj, const char *type) in report_config_error() argument
53 ucl_object_tostring(obj), key, type); in report_config_error()
61 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_bool_config() argument
66 report_config_error(key, obj, "bool"); in add_bool_config()
68 nvlist_add_bool(config, key, val); in add_bool_config()
76 add_string_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_string_config() argument
81 report_config_error(key, obj, "string"); in add_string_config()
83 nvlist_add_string(config, key, val); in add_string_config()
91 add_uint_config(const char *key, const ucl_object_t *obj, nvlist_t *config, in add_uint_config() argument
99 report_config_error(key, obj, type); in add_uint_config()
[all …]
/NextBSD/usr.sbin/ypserv/
HDyp_dblookup.c75 char *key; member
204 DBT key = { NULL, 0 }, data = { NULL, 0 }; in yp_setflags() local
207 key.data = inter_string; in yp_setflags()
208 key.size = inter_sz; in yp_setflags()
210 if (!(dbp->get)(dbp, &key, &data, 0)) in yp_setflags()
213 key.data = secure_string; in yp_setflags()
214 key.size = secure_sz; in yp_setflags()
216 if (!(dbp->get)(dbp, &key, &data, 0)) in yp_setflags()
282 qptr->dbptr->key = NULL; in yp_cache_db()
319 yp_find_db(const char *name, const char *key, int size) in yp_find_db() argument
[all …]
/NextBSD/contrib/gcc/config/
HDvxlib.c164 #define KEY_VALID_P(key) !(tls_keys.generation[key] & 1) argument
194 __gthread_key_t key; in tls_delete_hook() local
199 for (key = 0; key < MAX_KEYS; key++) in tls_delete_hook()
201 if (data->generation[key] == tls_keys.generation[key]) in tls_delete_hook()
203 tls_dtor dtor = tls_keys.dtor[key]; in tls_delete_hook()
206 dtor (data->values[key]); in tls_delete_hook()
263 __gthread_key_t key; in __gthread_key_create() local
270 for (key = 0; key < MAX_KEYS; key++) in __gthread_key_create()
271 if (!KEY_VALID_P (key)) in __gthread_key_create()
279 tls_keys.generation[key]++; /* making it even */ in __gthread_key_create()
[all …]
/NextBSD/sys/net80211/
HDieee80211_crypto.c102 cipher_detach(struct ieee80211_key *key) in cipher_detach() argument
104 key->wk_cipher->ic_detach(key); in cipher_detach()
108 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) in cipher_attach() argument
110 return key->wk_cipher->ic_attach(vap, key); in cipher_attach()
118 struct ieee80211_key *key, in dev_key_alloc() argument
121 return vap->iv_key_alloc(vap, key, keyix, rxkeyix); in dev_key_alloc()
126 const struct ieee80211_key *key) in dev_key_delete() argument
128 return vap->iv_key_delete(vap, key); in dev_key_delete()
132 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) in dev_key_set() argument
134 return vap->iv_key_set(vap, key); in dev_key_set()
[all …]

12345678910>>...108