Searched refs:key (Results 226 - 250 of 2805) sorted by relevance

1234567891011>>

/freebsd-current/contrib/kyua/utils/config/
H A Dexceptions.cpp54 /// \param key The key that caused the combination conflict.
57 const detail::tree_key& key, const std::string& format) :
58 error(F(format.empty() ? "Combination conflict in key '%s'" : format) %
59 detail::flatten_key(key))
87 /// \param key The unknown key.
89 config::invalid_key_value::invalid_key_value(const detail::tree_key& key, argument
92 % detail::flatten_key(key) % message)
120 /// \param key Th
56 bad_combination_error( const detail::tree_key& key, const std::string& format) argument
123 unknown_key_error(const detail::tree_key& key, const std::string& format) argument
[all...]
/freebsd-current/sys/contrib/libsodium/test/default/
H A Dkeygen.c39 unsigned char *key; local
45 key = (unsigned char *) sodium_malloc(tv->key_len);
46 key[tv->key_len - 1U] = 0;
48 tv->fn(key);
49 if (key[tv->key_len - 1U] != 0) {
53 sodium_free(key);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_location.ksh22 . $STF_SUITE/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib
26 # 'zfs load-key -L' should override keylocation with provided value.
29 # 1. Create a key file
30 # 2. Copy the key file to another location
32 # 4. Unmount the dataset and unload its key
34 # 6. Verify the key is loaded
35 # 7. Verify the keylocation is the original key file
36 # 8. Unload the dataset's key
38 # 10. Verify the key is loaded
39 # 11. Verify the keylocation is the original key fil
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h35 // Implement operator== so that FileEntry can be used as key in
49 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey(); local
50 return gsym::FileEntry(key, key);
53 uint32_t key = DenseMapInfo<uint32_t>::getTombstoneKey(); local
54 return gsym::FileEntry(key, key);
/freebsd-current/crypto/openssl/crypto/bf/
H A Dbf_skey.c22 void BF_set_key(BF_KEY *key, int len, const unsigned char *data) argument
28 memcpy(key, &bf_init, sizeof(BF_KEY));
29 p = key->P;
62 BF_encrypt(in, key);
67 p = key->S;
69 BF_encrypt(in, key);
/freebsd-current/crypto/openssl/include/crypto/
H A Dsm2.h32 const EC_KEY *key);
37 ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key,
43 int ossl_sm2_do_verify(const EC_KEY *key,
67 int ossl_sm2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest,
73 int ossl_sm2_encrypt(const EC_KEY *key,
78 int ossl_sm2_decrypt(const EC_KEY *key,
/freebsd-current/crypto/openssl/crypto/rc4/
H A Drc4_enc.c27 void RC4(RC4_KEY *key, size_t len, const unsigned char *indata, argument
34 x = key->x;
35 y = key->y;
36 d = key->data;
89 key->x = x;
90 key->y = y;
/freebsd-current/sys/dev/qat/qat_common/
H A Dadf_cfg_device.c290 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
299 snprintf(key, sizeof(key), ADF_SERVICES_ENABLED);
300 if (adf_cfg_get_param_value(accel_dev, ADF_GENERAL_SEC, key, val))
437 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
448 snprintf(key, sizeof(key), ADF_SERVICES_ENABLED);
449 if (adf_cfg_get_param_value(accel_dev, ADF_GENERAL_SEC, key, val))
490 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
496 snprintf(key, sizeo
501 key); local
690 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
801 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
951 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
[all...]
/freebsd-current/contrib/unbound/testdata/stat_values.tdir/
H A Dstat_values_downstream_cookies.conf15 root-key-sentinel: no
29 server-key-file: "unbound_server.key"
31 control-key-file: "unbound_control.key"
/freebsd-current/lib/libc/resolv/
H A Dmtctxres.c16 static pthread_key_t key; variable
31 * Initialize the TSD key. By doing this at library load time, we're
39 pthread_keycreate_ret = pthread_key_create(&key, __res_destroy_ctx);
70 if (pthread_getspecific(key) != 0) {
82 if ((ret = pthread_setspecific(key, mt)) != 0) {
127 if (((mt = pthread_getspecific(key)) != NULL) ||
129 (mt = pthread_getspecific(key)) != NULL)) {
/freebsd-current/lib/libc/db/test/hash.tests/
H A Dtread2.c52 DBT item, key, res; local
71 key.data = wp1;
79 key.size = strlen(wp1);
82 stat = (dbp->get)(dbp, &key, &res,0);
84 fprintf ( stderr, "Error retrieving %s\n", key.data );
87 fprintf ( stderr, "%s not found\n", key.data );
H A Ddriver2.c43 int my_hash(key, len)
44 char *key;
54 DBT key, content; local
78 key.data = keybuf;
83 key.size = 128 + (random()&1023);
85 /* printf("%d: Key size %d, data size %d\n", i, key.size,
89 if ((db->put)(db, &key, &content, R_NOOVERWRITE)) {
/freebsd-current/contrib/unbound/services/cache/
H A Drrset.c55 rrset_markdel(void* key) argument
57 struct ub_packed_rrset_key* r = (struct ub_packed_rrset_key*)key;
96 rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key, argument
117 lock_rw_rdlock(&key->entry.lock);
118 if(key->id == id && key->entry.hash == hash) {
119 lru_touch(table, &key->entry);
121 lock_rw_unlock(&key->entry.lock);
173 /** Update RRSet special key ID */
180 lock_rw_wrlock(&ref->key
285 struct ub_packed_rrset_key key; local
533 struct ub_packed_rrset_key key; local
[all...]
/freebsd-current/crypto/openssl/crypto/
H A Dparam_build.c25 const char *key; member in struct:__anon51
51 static OSSL_PARAM_BLD_DEF *param_push(OSSL_PARAM_BLD *bld, const char *key, argument
61 pd->key = key;
76 static int param_push_num(OSSL_PARAM_BLD *bld, const char *key, argument
79 OSSL_PARAM_BLD_DEF *pd = param_push(bld, key, size, size, type, 0);
122 int OSSL_PARAM_BLD_push_int(OSSL_PARAM_BLD *bld, const char *key, int num) argument
124 return param_push_num(bld, key, &num, sizeof(num), OSSL_PARAM_INTEGER);
127 int OSSL_PARAM_BLD_push_uint(OSSL_PARAM_BLD *bld, const char *key, argument
130 return param_push_num(bld, key,
134 OSSL_PARAM_BLD_push_long(OSSL_PARAM_BLD *bld, const char *key, long int num) argument
140 OSSL_PARAM_BLD_push_ulong(OSSL_PARAM_BLD *bld, const char *key, unsigned long int num) argument
147 OSSL_PARAM_BLD_push_int32(OSSL_PARAM_BLD *bld, const char *key, int32_t num) argument
153 OSSL_PARAM_BLD_push_uint32(OSSL_PARAM_BLD *bld, const char *key, uint32_t num) argument
160 OSSL_PARAM_BLD_push_int64(OSSL_PARAM_BLD *bld, const char *key, int64_t num) argument
166 OSSL_PARAM_BLD_push_uint64(OSSL_PARAM_BLD *bld, const char *key, uint64_t num) argument
173 OSSL_PARAM_BLD_push_size_t(OSSL_PARAM_BLD *bld, const char *key, size_t num) argument
180 OSSL_PARAM_BLD_push_time_t(OSSL_PARAM_BLD *bld, const char *key, time_t num) argument
187 OSSL_PARAM_BLD_push_double(OSSL_PARAM_BLD *bld, const char *key, double num) argument
193 OSSL_PARAM_BLD_push_BN(OSSL_PARAM_BLD *bld, const char *key, const BIGNUM *bn) argument
200 OSSL_PARAM_BLD_push_BN_pad(OSSL_PARAM_BLD *bld, const char *key, const BIGNUM *bn, size_t sz) argument
236 OSSL_PARAM_BLD_push_utf8_string(OSSL_PARAM_BLD *bld, const char *key, const char *buf, size_t bsize) argument
256 OSSL_PARAM_BLD_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key, char *buf, size_t bsize) argument
274 OSSL_PARAM_BLD_push_octet_string(OSSL_PARAM_BLD *bld, const char *key, const void *buf, size_t bsize) argument
292 OSSL_PARAM_BLD_push_octet_ptr(OSSL_PARAM_BLD *bld, const char *key, void *buf, size_t bsize) argument
[all...]
/freebsd-current/sys/dev/gpio/
H A Dgpiokeys.c140 int sc_state; /* shift/lock key state */
141 int sc_accents; /* accent key index (> 0) */
166 gpiokeys_put_key(struct gpiokeys_softc *sc, uint32_t key) argument
172 sc->sc_input[sc->sc_inputtail] = key;
184 gpiokeys_key_event(struct gpiokeys_softc *sc, struct gpiokey *key, int pressed) argument
190 if (key->evcode != GPIOKEY_NONE &&
192 evdev_push_key(sc->sc_evdev, key->evcode, pressed);
200 if (key->keycode != GPIOKEY_NONE) {
201 code = key->keycode & SCAN_KEYCODE_MASK;
205 if (key
221 struct gpiokey *key; local
234 struct gpiokey *key; local
258 struct gpiokey *key; local
274 gpiokeys_attach_key(struct gpiokeys_softc *sc, phandle_t node, struct gpiokey *key) argument
372 gpiokeys_detach_key(struct gpiokeys_softc *sc, struct gpiokey *key) argument
[all...]
/freebsd-current/crypto/heimdal/base/
H A Ddict.c41 heim_object_t key; member in struct:hashentry
59 heim_release(g->key);
155 if (heim_cmp(ptr, p->key) == 0)
165 * @value key the key to search for
167 * @return a retained copy of the value for key or NULL if not found
171 heim_dict_copy_value(heim_dict_t dict, heim_object_t key) argument
174 p = _search(dict, key);
182 * Add key and value to dict
185 * @value key th
192 heim_dict_add_value(heim_dict_t dict, heim_object_t key, heim_object_t value) argument
231 heim_dict_delete_key(heim_dict_t dict, heim_object_t key) argument
[all...]
/freebsd-current/crypto/heimdal/lib/hdb/
H A Dmkey.c61 int kvno, krb5_keyblock *key, krb5_enctype etype,
75 ret = krb5_copy_keyblock_contents(context, key, &(*mkey)->keytab.keyblock);
81 ret = krb5_crypto_init(context, key, etype, &(*mkey)->crypto);
92 hdb_add_master_key(krb5_context context, krb5_keyblock *key, argument
102 ret = hdb_process_master_key(context, vno, key, 0, &p);
155 krb5_keyblock key; local
179 key.keytype = enctype;
180 ret = krb5_ret_data(sp, &key.keyvalue);
184 ret = hdb_process_master_key(context, 1, &key, 0, mkey);
185 krb5_free_keyblock_contents(context, &key);
60 hdb_process_master_key(krb5_context context, int kvno, krb5_keyblock *key, krb5_enctype etype, hdb_master_key *mkey) argument
198 krb5_keyblock key; local
245 krb5_keyblock key; local
389 _hdb_mkey_decrypt(krb5_context context, hdb_master_key key, krb5_key_usage usage, void *ptr, size_t size, krb5_data *res) argument
398 _hdb_mkey_encrypt(krb5_context context, hdb_master_key key, krb5_key_usage usage, const void *ptr, size_t size, krb5_data *res) argument
414 hdb_master_key key; local
495 hdb_master_key key; local
559 hdb_set_master_key(krb5_context context, HDB *db, krb5_keyblock *key) argument
582 hdb_master_key key; local
[all...]
/freebsd-current/usr.bin/cap_mkdb/
H A Dcap_mkdb.c64 * capability record whereas a reference contains the name (key) under which
146 DBT key, data; local
153 key.data = NULL;
190 key.data = bp;
191 key.size = p - bp;
193 switch(capdbp->put(capdbp, &key, &data, R_NOOVERWRITE)) {
199 (int)key.size, (char *)key.data);
212 memmove(&((u_char *)(data.data))[1], key.data, key
[all...]
/freebsd-current/sys/contrib/openzfs/module/lua/
H A Dltable.c72 {{NILCONSTANT, NULL}} /* key */
96 static Node *mainposition (const Table *t, const TValue *key) { argument
97 switch (ttype(key)) {
99 return hashnum(t, nvalue(key));
101 TString *s = rawtsvalue(key);
106 return hashstr(t, rawtsvalue(key));
109 return hashstr(t, rawtsvalue(key));
111 return hashboolean(t, bvalue(key));
113 return hashpointer(t, pvalue(key));
115 return hashpointer(t, fvalue(key));
126 arrayindex(const TValue *key) argument
143 findindex(lua_State *L, Table *t, StkId key) argument
168 luaH_next(lua_State *L, Table *t, StkId key) argument
217 countint(const TValue *key, int *nums) argument
404 luaH_newkey(lua_State *L, Table *t, const TValue *key) argument
447 luaH_getint(Table *t, int key) argument
467 luaH_getstr(Table *t, TString *key) argument
482 luaH_get(Table *t, const TValue *key) argument
512 luaH_set(lua_State *L, Table *t, const TValue *key) argument
520 luaH_setint(lua_State *L, Table *t, int key, TValue *value) argument
584 luaH_mainposition(const Table *t, const TValue *key) argument
[all...]
/freebsd-current/crypto/openssl/providers/implementations/exchange/
H A Decx_exch.c33 * What's passed as an actual key is defined by the KEYMGMT interface.
40 ECX_KEY *key; member in struct:__anon4154
76 ECX_KEY *key = vkey; local
82 || key == NULL
83 || key->keylen != ecxctx->keylen
84 || !ossl_ecx_key_up_ref(key)) {
89 ossl_ecx_key_free(ecxctx->key);
90 ecxctx->key = key;
98 ECX_KEY *key local
[all...]
/freebsd-current/sbin/zfsbootcfg/
H A Dzfsbootcfg.c44 add_pair(const char *name, const char *nvlist, const char *key, argument
61 rv = lzbe_add_pair(nv, key, type, data, size);
69 rv = lzbe_add_pair(nv, key, type, &v, size);
77 rv = lzbe_add_pair(nv, key, type, &v, size);
85 rv = lzbe_add_pair(nv, key, type, &v, size);
93 rv = lzbe_add_pair(nv, key, type, &v, size);
101 rv = lzbe_add_pair(nv, key, type, &v, size);
109 rv = lzbe_add_pair(nv, key, type, &v, size);
117 rv = lzbe_add_pair(nv, key, type, &v, size);
125 rv = lzbe_add_pair(nv, key, typ
162 delete_pair(const char *name, const char *nvlist, const char *key) argument
189 const char *key, *value, *type, *nvlist; local
[all...]
/freebsd-current/contrib/wireguard-tools/
H A Dipc-uapi.h37 char *key = NULL, *value; local
98 while (getline(&key, &line_buffer_len, f) > 0) {
99 line_len = strlen(key);
101 if (line_len == 1 && key[0] == '\n')
103 value = strchr(key, '=');
104 if (!value || line_len == 0 || key[line_len - 1] != '\n')
106 *value++ = key[--line_len] = '\0';
108 if (!strcmp(key, "errno")) {
121 free(key);
144 char *key local
[all...]
/freebsd-current/contrib/wpa/src/crypto/
H A Daes-eax.c18 * @key: Key for encryption (16 bytes)
28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac))
62 if (aes_128_ctr_encrypt(key, nonce_mac, data, data_len))
66 if (omac1_aes_128(key, buf, 16 + data_len, data_mac))
82 * @key: Key for decryption (16 bytes)
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
118 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) {
125 if (omac1_aes_128(key, bu
[all...]
/freebsd-current/crypto/heimdal/lib/hx509/
H A Denv.c43 * Add a new key/value pair to the hx509_env.
47 * @param key key to add
57 const char *key, const char *value)
69 n->name = strdup(key);
94 * Add a new key/binding pair to the hx509_env.
98 * @param key key to add
108 const char *key, hx509_env list)
120 n->name = strdup(key);
56 hx509_env_add(hx509_context context, hx509_env *env, const char *key, const char *value) argument
107 hx509_env_add_binding(hx509_context context, hx509_env *env, const char *key, hx509_env list) argument
154 hx509_env_lfind(hx509_context context, hx509_env env, const char *key, size_t len) argument
179 hx509_env_find(hx509_context context, hx509_env env, const char *key) argument
202 hx509_env_find_binding(hx509_context context, hx509_env env, const char *key) argument
[all...]
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/
H A Dgenerichash_blake2b.c13 const unsigned char *key, size_t keylen)
22 return blake2b((uint8_t *) out, in, key, (uint8_t) outlen, (uint64_t) inlen,
29 unsigned long long inlen, const unsigned char *key, size_t keylen,
39 return blake2b_salt_personal((uint8_t *) out, in, key, (uint8_t) outlen,
46 const unsigned char *key, const size_t keylen,
55 if (key == NULL || keylen <= 0U) {
59 } else if (blake2b_init_key(state, (uint8_t) outlen, key,
68 crypto_generichash_blake2b_state *state, const unsigned char *key,
78 if (key == NULL || keylen <= 0U) {
83 } else if (blake2b_init_key_salt_personal(state, (uint8_t) outlen, key,
11 crypto_generichash_blake2b(unsigned char *out, size_t outlen, const unsigned char *in, unsigned long long inlen, const unsigned char *key, size_t keylen) argument
27 crypto_generichash_blake2b_salt_personal( unsigned char *out, size_t outlen, const unsigned char *in, unsigned long long inlen, const unsigned char *key, size_t keylen, const unsigned char *salt, const unsigned char *personal) argument
45 crypto_generichash_blake2b_init(crypto_generichash_blake2b_state *state, const unsigned char *key, const size_t keylen, const size_t outlen) argument
67 crypto_generichash_blake2b_init_salt_personal( crypto_generichash_blake2b_state *state, const unsigned char *key, const size_t keylen, const size_t outlen, const unsigned char *salt, const unsigned char *personal) argument
[all...]

Completed in 222 milliseconds

1234567891011>>