/freebsd-current/sys/geom/eli/ |
H A D | pkcs5v2.h | 31 void pkcs5v2_genkey(uint8_t *key, unsigned keylen, const uint8_t *salt,
|
/freebsd-current/sys/dev/drm2/ |
H A D | drm_hashtab.h | 44 unsigned long key; member in struct:drm_hash_item 59 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 61 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); 62 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
|
/freebsd-current/usr.sbin/rpc.ypupdated/ |
H A D | ypupdated_server.c | 114 args->key.yp_buf_len, args->key.yp_buf_val, 121 args->key.yp_buf_len, args->key.yp_buf_val, 148 args->key.yp_buf_len, args->key.yp_buf_val, 155 args->key.yp_buf_len, args->key.yp_buf_val, 182 args->key.yp_buf_len, args->key [all...] |
H A D | yp_dbupdate.c | 80 DBT key = { NULL, 0 }, data = { NULL, 0 }; local 95 key.data = keyval; 96 key.size = keylen; 102 rval = yp_del_record(dbp, &key); 107 rval = yp_put_record(dbp, &key, &data, 0); 112 rval = yp_put_record(dbp, &key, &data, 1); 117 if (yp_get_record(domptr, map, &key, &data, 0) != YP_TRUE) { 121 rval = yp_put_record(dbp, &key, &data, 1); 135 key.data = yp_last; 136 key [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | crypt.c | 46 int __freebsd11_des_setkey(const char *key); 48 int __freebsd11_setkey(const char *key); 53 __freebsd11_des_setkey(const char *key __unused) 71 __freebsd11_setkey(const char *key __unused)
|
/freebsd-current/contrib/kyua/utils/config/ |
H A D | nodes.cpp | 90 /// for invoking this twice so that the two key sets are combined if they happen 93 /// \param key Key to this node. 101 const tree_key& key, 119 tree_key child_key = key; 135 /// \param key Key to this node. 141 config::detail::inner_node::combine_into(const tree_key& key, argument 151 combine_children_into(key, _children, other._children, node); 152 combine_children_into(key, other._children, _children, node); 155 key, "'%s' is an inner node in the base tree but a leaf node in " 163 /// This recursive algorithm traverses the tree searching for a particular key 100 combine_children_into( const tree_key& key, const children_map& c1, const children_map& c2, inner_node* node) const argument 175 lookup_ro(const tree_key& key, const tree_key::size_type key_pos) const argument [all...] |
H A D | keys_test.cpp | 41 config::detail::tree_key key; local 42 key.push_back("foo"); 43 ATF_REQUIRE_EQ("foo", config::detail::flatten_key(key)); 50 config::detail::tree_key key; local 51 key.push_back("foo"); 52 key.push_back("1"); 53 key.push_back("bar"); 54 ATF_REQUIRE_EQ("foo.1.bar", config::detail::flatten_key(key)); 82 "Empty key", 91 "Empty component in key ' [all...] |
/freebsd-current/contrib/unbound/smallapp/ |
H A D | unbound-control-setup.sh | 96 if test -f $SVR_BASE.key; then 97 echo "$SVR_BASE.key exists" 99 echo "generating $SVR_BASE.key" 100 openssl genrsa -out $SVR_BASE.key $BITS || error "could not genrsa" 102 if test -f $CTL_BASE.key; then 103 echo "$CTL_BASE.key exists" 105 echo "generating $CTL_BASE.key" 106 openssl genrsa -out $CTL_BASE.key $BITS || error "could not genrsa" 122 openssl req -key $SVR_BASE.key [all...] |
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | crypto-des3.c | 42 krb5_keyblock *key) 44 DES_cblock *k = key->keyvalue.data; 89 struct _krb5_key_data *key, 95 return _krb5_des_checksum(context, EVP_md5(), key, data, len, C); 100 struct _krb5_key_data *key, 106 return _krb5_des_verify(context, EVP_md5(), key, data, len, C); 196 krb5_keyblock *key, 200 unsigned char *x = key->keyvalue.data; 205 memset(key->keyvalue.data, 0, key 41 DES3_random_key(krb5_context context, krb5_keyblock *key) argument 88 RSA_MD5_DES3_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 99 RSA_MD5_DES3_verify(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 195 _krb5_DES3_random_to_key(krb5_context context, krb5_keyblock *key, const void *data, size_t size) argument [all...] |
H A D | generate_subkey.c | 40 * @param key session key 41 * @param etype encryption type of subkey, if ETYPE_NULL, use key's enctype 51 const krb5_keyblock *key, 64 etype = key->keytype; /* use session key etype */ 66 /* XXX should we use the session key as input to the RF? */ 50 krb5_generate_subkey_extended(krb5_context context, const krb5_keyblock *key, krb5_enctype etype, krb5_keyblock **subkey) argument
|
/freebsd-current/crypto/heimdal/lib/wind/ |
H A D | gen-map.py | 68 uint32_t key; 99 for key in xrange(start,end,1): 100 trans.append((key, value, desc, [t])) 104 key = int(m.group(1), 0x10) variable 107 trans.append((key, value, desc, [t])) 120 (key, value, description, table) = x 124 offsetTable[key] = i 126 offsetTable[key] = len(valTable) 130 (key, value, description, tables) = x 133 print "no symbol for %s %s (%s)" % (key, descriptio [all...] |
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | st.c | 52 st_data_t key; member in struct:st_table_entry 79 static inline st_ptr_t st_strhash(void *key) argument 81 return strhash((const char *)key); 106 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)(((void*)key)) 107 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) 251 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \ 252 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key))) 273 st_lookup(st_table *table, st_data_t key, st_data_t *value) argument 309 st_insert(st_table *table, st_data_t key, st_data_t value) argument 326 st_add_direct(st_table *table, st_data_t key, st_data_t value) argument 402 st_delete(st_table *table, st_data_t *key, st_data_t *value) argument 443 st_delete_safe(st_table *table, st_data_t *key, st_data_t *value, st_data_t never) argument 472 delete_never(st_data_t key, st_data_t value, st_data_t never) argument 487 st_foreach(st_table *table, int (*func)(st_data_t key, st_data_t val, st_data_t arg), st_data_t arg) argument [all...] |
/freebsd-current/contrib/cortex-strings/scripts/ |
H A D | fixup.py | 17 key = sys.argv[1] 18 expr = re.compile(r'/\* For %s:\s([^*]+)\*/' % key, re.M)
|
/freebsd-current/crypto/openssh/ |
H A D | xmss_hash.h | 16 int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen); 17 int h_msg(unsigned char *out,const unsigned char *in,unsigned long long inlen, const unsigned char *key, const unsigned int keylen, const unsigned int n);
|
H A D | authfile.h | 49 int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file); 51 int sshkey_save_public(const struct sshkey *key, const char *path,
|
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | aes_siv.h | 12 int aes_siv_encrypt(const u8 *key, size_t key_len, 16 int aes_siv_decrypt(const u8 *key, size_t key_len,
|
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_kdf/ |
H A D | crypto_kdf.c | 39 const unsigned char key[crypto_kdf_KEYBYTES]) 42 subkey_id, ctx, key); 36 crypto_kdf_derive_from_key(unsigned char *subkey, size_t subkey_len, uint64_t subkey_id, const char ctx[crypto_kdf_CONTEXTBYTES], const unsigned char key[crypto_kdf_KEYBYTES]) argument
|
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | ltable.h | 20 /* returns the key, given the value of a table entry */ 25 LUAI_FUNC const TValue *luaH_getint (Table *t, int key); 26 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value); 27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 28 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); 29 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key); 30 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 35 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); 40 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | hkdf.c | 29 crypto_key_t key; local 31 /* initialize the salt as a crypto key */ 32 key.ck_length = CRYPTO_BYTES2BITS(salt_len); 33 key.ck_data = salt; 35 crypto_mac(&key, key_material, km_len, out_buf, SHA512_DIGEST_LENGTH); 45 crypto_key_t key; local 54 /* initialize the salt as a crypto key */ 55 key.ck_length = CRYPTO_BYTES2BITS(SHA512_DIGEST_LENGTH); 56 key.ck_data = extract_key; 61 crypto_mac_init(&ctx, &key); [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/ |
H A D | setup.ksh | 29 . $STF_SUITE/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib
|
/freebsd-current/crypto/openssl/include/openssl/ |
H A D | rc4.h | 35 OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, 37 OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len,
|
/freebsd-current/crypto/openssl/providers/implementations/encode_decode/ |
H A D | endecoder_common.c | 67 void *key = NULL; local 70 if ((key = kmgmt_new(provctx)) == NULL 71 || !kmgmt_import(key, selection, params)) { 72 kmgmt_free(key); 73 key = NULL; 76 return key; 79 void ossl_prov_free_key(const OSSL_DISPATCH *fns, void *key) argument 84 kmgmt_free(key);
|
/freebsd-current/sys/libkern/ |
H A D | bsearch.c | 52 bsearch(const void *key, const void *base0, size_t nmemb, size_t size, argument 62 cmp = (*compar)(key, p); 65 if (cmp > 0) { /* key > p: move right */
|
/freebsd-current/lib/libc/db/hash/ |
H A D | hash_func.c | 54 * Assume that we've already split the bucket to which this key hashes, 63 hash1(const void *key, size_t len) argument 69 k = (u_int8_t *)key; 83 hash2(const void *key, size_t len) argument 88 k = (u_int8_t *)key; 109 hash3(const void *key, size_t len) argument 117 k = (u_int8_t *)key; 149 hash4(const void *key, size_t len) argument 159 k = key;
|
/freebsd-current/lib/libc/db/test/hash.tests/ |
H A D | thash4.c | 51 DBT item, key, res; local 75 key.data = wp1; 83 key.size = strlen(wp1); 87 * enter key/data pair into the table 89 if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) { 90 fprintf(stderr, "cannot enter: key %s\n", 104 key.size = strlen(wp1); 105 stat = (dbp->get)(dbp, &key, &res, 0); 107 fprintf ( stderr, "Error retrieving %s\n", key.data ); 111 fprintf ( stderr, "%s not found\n", key [all...] |