/freebsd-12-stable/lib/libnv/tests/ |
H A D | cnv_tests.cc | 48 const char *key; local 59 key = "name"; 62 nvlist_add_bool(nvl, key, value); 63 ATF_REQUIRE_EQ(strcmp(key, nvlist_next(nvl, &type, &cookie)), 0); 67 ATF_REQUIRE(nvlist_exists(nvl, key)); 68 ATF_REQUIRE(nvlist_exists_bool(nvl, key)); 82 const char *key; local 93 key = "name"; 96 nvlist_add_number(nvl, key, value); 97 ATF_REQUIRE_EQ(strcmp(key, nvlist_nex 117 const char *key; local 152 const char *key, *subkey; local 220 const char *key; local 252 const char *key; local 298 const char *key; local 340 const char *key; local 382 const char *key; local 425 const char *key; local 507 const char *key; local 552 const char *key; local 595 const char *key; local 638 const char *key; local 685 const char *key, *subkey; local 759 const char *key; local 811 const char *key; local 863 const char *key; local 919 const char *key; local 994 const char *key; local 1046 const char *key; local 1089 const char *key; local 1132 const char *key; local 1175 const char *key, *subkey; local 1235 const char *key; local 1285 const char *key; local 1330 const char *key; local 1375 const char *key; local 1421 const char *key; local [all...] |
/freebsd-12-stable/contrib/wpa/src/crypto/ |
H A D | aes.h | 14 void * aes_encrypt_init(const u8 *key, size_t len); 17 void * aes_decrypt_init(const u8 *key, size_t len);
|
H A D | md5.h | 14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, 16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
|
/freebsd-12-stable/crypto/heimdal/lib/hx509/ |
H A D | test_req.in | 53 --key=FILE:$srcdir/data/key.der \ 62 --key=FILE:$srcdir/data/key.der \
|
/freebsd-12-stable/crypto/heimdal/lib/krb5/ |
H A D | salt-aes.c | 44 krb5_keyblock *key) 65 ALLOC(kd.key, 1); 66 if(kd.key == NULL) { 70 kd.key->keytype = enctype; 71 ret = krb5_data_alloc(&kd.key->keyvalue, et->keytype->size); 80 et->keytype->size, kd.key->keyvalue.data); 90 ret = krb5_copy_keyblock_contents(context, kd.key, key); 39 AES_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
|
H A D | crypto-des.c | 41 krb5_keyblock *key) 43 DES_cblock *k = key->keyvalue.data; 53 struct _krb5_key_data *key) 55 DES_set_key_unchecked(key->key->keyvalue.data, key->schedule->data); 60 krb5_keyblock *key, 64 DES_cblock *k = key->keyvalue.data; 65 memcpy(k, data, key->keyvalue.length); 101 struct _krb5_key_data *key, 40 krb5_DES_random_key(krb5_context context, krb5_keyblock *key) argument 51 krb5_DES_schedule_old(krb5_context context, struct _krb5_key_type *kt, struct _krb5_key_data *key) argument 59 krb5_DES_random_to_key(krb5_context context, krb5_keyblock *key, const void *data, size_t size) argument 100 CRC32_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 119 RSA_MD4_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 132 RSA_MD4_DES_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *cksum) argument 143 RSA_MD4_DES_verify(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 154 RSA_MD5_DES_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 165 RSA_MD5_DES_verify(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument 216 evp_des_encrypt_null_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument 235 evp_des_encrypt_key_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument 254 DES_CFB64_encrypt_null_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument 272 DES_PCBC_encrypt_key_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument [all...] |
/freebsd-12-stable/sys/opencrypto/ |
H A D | xform_des3.c | 77 des3_encrypt(caddr_t key, u_int8_t *blk) argument 80 des_key_schedule *p = (des_key_schedule *) key; 86 des3_decrypt(caddr_t key, u_int8_t *blk) argument 89 des_key_schedule *p = (des_key_schedule *) key; 95 des3_setkey(u_int8_t **sched, u_int8_t *key, int len) argument 103 des_set_key((des_cblock *)(key + 0), p[0]); 104 des_set_key((des_cblock *)(key + 8), p[1]); 105 des_set_key((des_cblock *)(key + 16), p[2]);
|
/freebsd-12-stable/libexec/revnetgroup/ |
H A D | hash.h | 45 char *key; member in struct:member_entry 53 char *key; member in struct:group_entry
|
/freebsd-12-stable/crypto/openssl/include/openssl/ |
H A D | rc4.h | 27 void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); 28 void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
|
/freebsd-12-stable/crypto/openssl/crypto/aes/ |
H A D | aes_ofb.c | 14 size_t length, const AES_KEY *key, 17 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num, 13 AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num) argument
|
/freebsd-12-stable/crypto/openssl/crypto/camellia/ |
H A D | cmll_ctr.c | 14 size_t length, const CAMELLIA_KEY *key, 20 CRYPTO_ctr128_encrypt(in, out, length, key, ivec, ecount_buf, num, 13 Camellia_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char ivec[CAMELLIA_BLOCK_SIZE], unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE], unsigned int *num) argument
|
H A D | cmll_ofb.c | 19 size_t length, const CAMELLIA_KEY *key, 22 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num, 18 Camellia_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num) argument
|
/freebsd-12-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | miscellaneous-table.h | 49 the key is removed from the table. */ 52 const char *key, 59 `miscellaneous' table of FS, or to NULL if that key isn't found. */ 63 const char *key,
|
/freebsd-12-stable/contrib/apr-util/crypto/ |
H A D | apr_crypto_openssl.c | 69 unsigned char *key; member in struct:apr_crypto_key_t 98 /* sufficient space to wrap a key */ 229 * @param params - array of key parameters 342 * @brief Get a hash table of key types, keyed by the name of the type against 345 * @param types - hashtable of key types keyed to constants. 357 * @brief Get a hash table of key modes, keyed by the name of the mode against 360 * @param modes - hashtable of key modes keyed to constants. 374 static apr_status_t crypto_cipher_mechanism(apr_crypto_key_t *key, argument 383 /* A 3DES key */ 385 key 461 apr_crypto_key_t *key = *k; local 562 apr_crypto_key_t *key = *k; local 618 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 805 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-12-stable/contrib/ntp/lib/isc/ |
H A D | hmacmd5.c | 38 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, argument 41 HMAC_Init(ctx, (const void *) key, (int) len, EVP_md5()); 69 * Start HMAC-MD5 process. Initialize an md5 context and digest the key. 72 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, argument 78 memset(ctx->key, 0, sizeof(ctx->key)); 79 if (len > sizeof(ctx->key)) { 82 isc_md5_update(&md5ctx, key, len); 83 isc_md5_final(&md5ctx, ctx->key); 85 memcpy(ctx->key, ke [all...] |
/freebsd-12-stable/contrib/ntp/sntp/libopts/ |
H A D | option-value-type.c | 64 /* maximum key range = 15, duplicates = 0 */ 126 register int key = (int)option_value_type_hash (str, len); local 128 if (key <= 17 && key >= 0) 130 register const char *s = option_value_type_table[key].vtp_name; 133 return &option_value_type_table[key]; 142 * @param[in] str a string that should start with a known key word.
|
H A D | option-xat-attribute.c | 64 /* maximum key range = 6, duplicates = 0 */ 118 register int key = (int)option_xat_attribute_hash (str, len); local 120 if (key <= 9 && key >= 0) 122 register const char *s = option_xat_attribute_table[key].xat_name; 125 return &option_xat_attribute_table[key]; 134 * @param[in] str a string that should start with a known key word.
|
/freebsd-12-stable/contrib/ofed/libibnetdisc/ |
H A D | g_hash_table.cpp | 70 GHashTableInsert(GHashTable *ght, void *key, void *value) argument 73 ht->map[key] = value; 77 GHashTableLookup(GHashTable *ght, void *key) argument 81 if (ht->map.find(key) == ht->map.end()) 83 return (ht->map[key]);
|
/freebsd-12-stable/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
H A D | insert_store_hash_fn_imps.hpp | 54 const_key_reference key = PB_DS_V2F(r_val); local 55 comp_hash pos_hash_pair = ranged_hash_fn_base::operator()(key); 61 key, pos_hash_pair.second)) 70 _GLIBCXX_DEBUG_ONLY(map_debug_base::check_key_exists(key);) 74 _GLIBCXX_DEBUG_ONLY(map_debug_base::check_key_does_not_exist(key);)
|
/freebsd-12-stable/sys/contrib/octeon-sdk/cvmx-malloc/ |
H A D | thread-m.h | 66 #define tsd_key_create(key, destr) do {} while(0) 67 #define tsd_setspecific(key, data) ((key) = (data)) 68 #define tsd_getspecific(key, vptr) (vptr = (key))
|
/freebsd-12-stable/contrib/netbsd-tests/include/sys/ |
H A D | t_tree.c | 38 int key; member in struct:mist 46 return (b->key - a->key); /* wrong, can overflow */ 48 if (b->key > a->key) 50 else if (b->key < a->key) 61 addmist(int key) argument 66 m->key = key; [all...] |
/freebsd-12-stable/usr.sbin/yp_mkdb/ |
H A D | yp_mkdb.c | 82 DBT key, data; local 89 key.data = NULL; 90 while (yp_next_record(dbp, &key, &data, 1, 1) == YP_TRUE) 91 printf("%.*s %.*s\n", (int)key.size, (char *)key.data, 114 DBT key, data; local 199 key.data = "YP_INTERDOMAIN"; 200 key.size = sizeof("YP_INTERDOMAIN") - 1; 203 yp_put_record(dbp, &key, &data, 0); 207 key [all...] |
/freebsd-12-stable/contrib/jemalloc/src/ |
H A D | ckh.c | 59 * Search bucket for key and return the cell number if found; SIZE_T_MAX 63 ckh_bucket_search(ckh_t *ckh, size_t bucket, const void *key) { argument 69 if (cell->key != NULL && ckh->keycomp(key, cell->key)) { 78 * Search table for key and return cell number if found; SIZE_T_MAX otherwise. 81 ckh_isearch(ckh_t *ckh, const void *key) { argument 86 ckh->hash(key, hashes); 90 cell = ckh_bucket_search(ckh, bucket, key); 97 cell = ckh_bucket_search(ckh, bucket, key); 102 ckh_try_bucket_insert(ckh_t *ckh, size_t bucket, const void *key, const void *data) argument 136 const void *key, *data, *tkey, *tdata; local 207 const void *key = *argkey; local 237 const void *key, *data; local 445 ckh_iter(ckh_t *ckh, size_t *tabind, void **key, void **data) argument 466 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) argument 489 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, void **data) argument 522 ckh_search(ckh_t *ckh, const void *searchkey, void **key, void **data) argument 542 ckh_string_hash(const void *key, size_t r_hash[2]) argument 555 ckh_pointer_hash(const void *key, size_t r_hash[2]) argument [all...] |
/freebsd-12-stable/contrib/gcc/ |
H A D | prefix.c | 43 be considered a "key" and looked up as follows: 46 an entry of "key" in 54 key_ROOT (the value of "key" concatenated with the constant "_ROOT") 92 get_key_value (char *key) argument 98 prefix = lookup_key (key); 102 prefix = getenv (temp = concat (key, "_ROOT", NULL)); 131 /* Look up "key" in the registry, as above. */ 134 lookup_key (char *key) argument 164 res = RegQueryValueExA (reg_key, key, 0, &type, (LPBYTE) dst, &size); 168 res = RegQueryValueExA (reg_key, key, 189 char *key, *old_name; local 250 update_path(const char *path, const char *key) argument [all...] |
/freebsd-12-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.h | 27 const char *key, const char *value); 30 const char *key, 34 const char *key, 38 const char *key, 42 const char *key, 46 const char *key, 50 const char *key, 54 const char *key, 60 const char *key, const char *type, 66 const char *key, 119 const char *key; /** key of the dict entry */ member in struct:wpa_dbus_dict_entry [all...] |