/freebsd-11-stable/sys/opencrypto/ |
H A D | cast.h | 19 void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes); 20 void cast_encrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock); 21 void cast_decrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock);
|
H A D | skipjack.h | 20 extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key); 21 extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key); 22 extern void subkey_table_gen(u_int8_t *key, u_int8_t **key_tables);
|
/freebsd-11-stable/usr.bin/getconf/ |
H A D | getconf.h | 39 int find_confstr(const char *name, int *key); 41 int find_pathconf(const char *name, int *key); 43 int find_sysconf(const char *name, int *key);
|
/freebsd-11-stable/libexec/revnetgroup/ |
H A D | hash.c | 56 const u_char *key; local 60 #define HASHC h = *key++ + 65599 * h 63 key = keyarg; 99 * Generate a hash value for a given key (character string). 104 hashkey(char *key) argument 107 if (key == NULL) 109 return(hash((void *)key, strlen(key)) & HASH_MASK); 114 lookup(struct group_entry *table[], char *key) argument 118 cur = table[hashkey(key)]; 147 store(struct group_entry *table[], char *key, char *data) argument 176 mstore(struct member_entry *table[], char *key, char *data, char *domain) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/camellia/ |
H A D | camellia.h | 95 CAMELLIA_KEY *key); 98 CAMELLIA_KEY *key); 101 const CAMELLIA_KEY *key); 103 const CAMELLIA_KEY *key); 106 const CAMELLIA_KEY *key, const int enc); 108 size_t length, const CAMELLIA_KEY *key, 111 size_t length, const CAMELLIA_KEY *key, 114 size_t length, const CAMELLIA_KEY *key, 117 size_t length, const CAMELLIA_KEY *key, 120 size_t length, const CAMELLIA_KEY *key, [all...] |
H A D | cmll_cfb.c | 118 size_t length, const CAMELLIA_KEY *key, 122 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, 128 size_t length, const CAMELLIA_KEY *key, 131 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, 136 size_t length, const CAMELLIA_KEY *key, 139 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, 117 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 127 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 135 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-11-stable/usr.bin/fortune/tools/ |
H A D | do_uniq.py | 40 key = hash(fortune) 41 if key not in dups: 42 dups[key] = [] 43 dups[key].append(fortune) 48 for key in list(dups.keys()): 49 if len(dups[key]) == 1: 50 del dups[key] 53 key = hash(fortune) 54 if key in dups: 56 for f in dups[key] [all...] |
/freebsd-11-stable/contrib/unbound/sldns/ |
H A D | keyraw.h | 2 * keyraw.h -- raw key and signature access and conversion 13 * raw key and signature access and conversion 33 * \param[in] keydata the raw key data 35 * \param[in] alg the cryptographic algorithm this is a key for 42 * Calculates keytag of DNSSEC key, operates on wireformat rdata. 43 * \param[in] key the key as uncompressed wireformat rdata. 44 * \param[in] keysize length of key data. 47 uint16_t sldns_calc_keytag_raw(uint8_t* key, size_t keysize); 62 * \param[in] key th [all...] |
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | ptable.h | 42 char *key; \ 78 : key(0), val(0) \ 91 a_delete v[i].key; \ 97 void PTABLE(T)::define(const char *key, T *val) \ 99 assert(key != 0); \ 100 unsigned long h = hash_string(key); \ 103 v[n].key != 0; \ 105 if (strcmp(v[n].key, key) == 0) { \ 118 if (oldv[i].key ! [all...] |
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_pshared.c | 43 void *key; member in struct:psh 50 #define PSHARED_KEY_HASH(key) (((unsigned long)(key) >> 8) % HASH_SIZE) 123 pshared_lookup(void *key) argument 128 hd = &pshared_hash[PSHARED_KEY_HASH(key)]; 130 if (h->key == key) 137 pshared_insert(void *key, void **val) argument 142 hd = &pshared_hash[PSHARED_KEY_HASH(key)]; 145 * When the key alread 184 pshared_remove(void *key) argument 203 pshared_clean(void *key, void *val) argument 212 __thr_pshared_offpage(void *key, int doalloc) argument 243 __thr_pshared_destroy(void *key) argument [all...] |
H A D | thr_spec.c | 54 _pthread_key_create(pthread_key_t *key, void (*destructor)(void *)) argument 72 *key = i + 1; 85 int key, ret; local 87 key = userkey - 1; 88 if ((unsigned int)key >= PTHREAD_KEYS_MAX) 92 if (_thread_keytable[key].allocated) { 93 _thread_keytable[key].allocated = 0; 108 int i, key; local 116 for (key = 0; key < PTHREAD_KEYS_MA 170 pthread_key_t key; local 201 pthread_key_t key; local 229 int key; local [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_route.c | 100 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-11-stable/usr.sbin/iovctl/ |
H A D | parse.c | 49 report_config_error(const char *key, const ucl_object_t *obj, const char *type) argument 52 errx(1, "Value '%s' of key '%s' is not of type %s", 53 ucl_object_tostring(obj), key, type); 61 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) argument 66 report_config_error(key, obj, "bool"); 68 nvlist_add_bool(config, key, val); 76 add_string_config(const char *key, const ucl_object_t *obj, nvlist_t *config) argument 81 report_config_error(key, obj, "string"); 83 nvlist_add_string(config, key, val); 91 add_uint_config(const char *key, cons argument 116 add_unicast_mac_config(const char *key, const ucl_object_t *obj, nvlist_t *config) argument 171 add_config(const char *key, const ucl_object_t *obj, nvlist_t *config, const nvlist_t *schema) argument 209 const char *key; local 264 const char *errmsg, *key; local 341 const char *key, *device; local 377 const char *errmsg, *key; local [all...] |
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | gather-docs | 78 $key = $name; 79 $key =~ tr/A-Z/a-z/; 80 $key =~ s/[^a-z0-9]+/ /g; 81 $name{$key} = $node; 82 $lines{$key} = ''; 83 $src_file{$key} = $in; 84 $src_line{$key} = $line; 88 $node_lines{$key} .= $_; 91 $node_lines{$key} .= $_; 115 for $key (sor [all...] |
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | gather-docs | 78 $key = $name; 79 $key =~ tr/A-Z/a-z/; 80 $key =~ s/[^a-z0-9]+/ /g; 81 $name{$key} = $node; 82 $lines{$key} = ''; 83 $src_file{$key} = $in; 84 $src_line{$key} = $line; 88 $node_lines{$key} .= $_; 91 $node_lines{$key} .= $_; 115 for $key (sor [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | uuids-table.c | 73 DBT key, value; 77 svn_fs_base__clear_dbt(&key); 78 key.data = &recno; 79 key.size = sizeof(recno); 80 key.ulen = key.size; 81 key.flags |= DB_DBT_USERMEM; 90 BDB_ERR(uuids->put(uuids, 0, &key, &value, DB_APPEND)); 106 DBT key; 109 svn_fs_base__clear_dbt(&key); 72 DBT key, value; local 105 DBT key; local 135 DBT key; local [all...] |
H A D | strings-table.h | 69 const char *key, 84 const char *key, 91 * If *KEY is null, then create a new string and store the new key in 101 const char **key, 112 const char *key, 125 const char *key, 131 * record, returning the new record's key in *NEW_KEY. All 135 const char *key,
|
/freebsd-11-stable/tools/tools/mtxstat/ |
H A D | mtxstat.pl | 43 my $key; # Sort key 56 $key = 'avg'; 60 $key = 'count'; 64 $key = 'max'; 66 $key = 'total'; 80 if (defined($key) && !grep(/^$key$/, @names)) { 81 die("can't find sort key '$key' i [all...] |
/freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
H A D | rcskeys.c | 123 char *key; local 143 key = strtok(next, ","); 144 while (key) { 148 if (!strcmp(key, Keyword[j])) 151 key = strtok(NULL, ","); 163 char *copy, *next, *key; local 168 key = strtok(next, "="); 169 if (strlen(key) > keylength) 171 VOID strcpy(local_id, key); 175 while (key [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_hashtab.c | 58 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) argument 65 hashed_key = hash32_buf(&key, sizeof(key), ht->order); 66 DRM_DEBUG("Key is 0x%08lx, Hashed key is 0x%08x\n", key, hashed_key); 69 DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key); 73 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument 79 hashed_key = hash32_buf(&key, sizeof(key), h 96 unsigned long key = item->key; local 144 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument 157 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument [all...] |
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_hashtab.c | 59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) argument 66 hashed_key = hash32_buf(&key, sizeof(key), ht->order); 67 DRM_DEBUG("Key is 0x%08lx, Hashed key is 0x%08x\n", key, hashed_key); 70 DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key); 74 unsigned long key) 80 hashed_key = hash32_buf(&key, sizeof(key), h 73 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument 97 unsigned long key = item->key; local 147 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument 161 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument [all...] |
/freebsd-11-stable/contrib/apr-util/crypto/ |
H A D | apr_crypto_commoncrypto.c | 56 unsigned char *key; member in struct:apr_crypto_key_t 67 const apr_crypto_key_t *key; member in struct:apr_crypto_block_t 169 * @param params - array of key parameters 232 * @brief Get a hash table of key types, keyed by the name of the type against 235 * @param types - hashtable of key types keyed to constants. 247 * @brief Get a hash table of key modes, keyed by the name of the mode against 250 * @param modes - hashtable of key modes keyed to constants. 264 static apr_status_t crypto_cipher_mechanism(apr_crypto_key_t *key, argument 269 key->options = doPad ? kCCOptionPKCS7Padding : 0; 276 /* A 3DES key */ 382 apr_crypto_key_t *key = *k; local 474 apr_crypto_key_t *key = *k; local 522 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument 725 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_crypto.c | 59 * Default "null" key management routines. 68 * Not in the global key table, the driver should handle this 69 * by allocating a slot in the h/w key table/cache. In 70 * lieu of that return key slot 0 for any unicast key 71 * request. We disallow the request if this is a group key. 73 * with a 4 key table. It also handles devices that pass 75 * and key index 0. 79 *keyix = 0; /* NB: use key index 0 for ucast key */ 102 cipher_detach(struct ieee80211_key *key) argument 108 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) argument 117 dev_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *key, ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) argument 125 dev_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *key) argument 132 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) argument 262 ieee80211_crypto_newkey(struct ieee80211vap *vap, int cipher, int flags, struct ieee80211_key *key) argument 421 _ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 455 ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 487 ieee80211_crypto_setkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument [all...] |
/freebsd-11-stable/bin/pax/ |
H A D | getoldopt.c | 27 static char *key; /* Points to next keyletter */ local 34 if (key == NULL) { /* First time */ 37 key = argv[1]; 38 if (*key == '-') 47 c = *key++; 49 key--;
|
/freebsd-11-stable/crypto/openssl/crypto/aes/ |
H A D | aes_cfb.c | 62 size_t length, const AES_KEY *key, 66 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, 72 size_t length, const AES_KEY *key, 75 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, 80 size_t length, const AES_KEY *key, 83 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, 61 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 71 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 79 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
|