| /freebsd-13.1/crypto/openssl/crypto/des/ |
| H A D | str2key.c | 40 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument 46 memset(key2, 0, 8); in DES_string_to_2keys() 55 (*key2)[i % 8] ^= (j << 1); in DES_string_to_2keys() 63 (*key2)[7 - (i % 8)] ^= j; in DES_string_to_2keys() 67 memcpy(key2, key1, 8); in DES_string_to_2keys() 69 DES_set_odd_parity(key2); in DES_string_to_2keys() 72 DES_set_key_unchecked(key2, &ks); in DES_string_to_2keys() 73 DES_cbc_cksum((const unsigned char *)str, key2, length, &ks, key2); in DES_string_to_2keys() 76 DES_set_odd_parity(key2); in DES_string_to_2keys()
|
| /freebsd-13.1/sys/contrib/libsodium/test/default/ |
| H A D | auth.c | 10 static unsigned char key2[] = variable 46 crypto_auth_hmacsha512_init(&st, key2, sizeof key2); in main() 57 crypto_auth_hmacsha256_init(&st256, key2, sizeof key2); in main()
|
| H A D | aead_xchacha20poly1305.c | 32 …unsigned char *key2 = (unsigned char *) sodium_malloc(crypto_aead_xchacha20poly1305_ietf_KEYBYTES); in tv() local 165 crypto_aead_xchacha20poly1305_ietf_keygen(key2); in tv() 167 NULL, 0U, nonce, key2) == 0) { in tv() 173 sodium_free(key2); in tv()
|
| /freebsd-13.1/contrib/unbound/util/data/ |
| H A D | packed_rrset.c | 98 struct ub_packed_rrset_key* key2 = (struct ub_packed_rrset_key*)k2; in ub_rrset_compare() local 100 if(key1 == key2) in ub_rrset_compare() 102 if(key1->rk.type != key2->rk.type) { in ub_rrset_compare() 103 if(key1->rk.type < key2->rk.type) in ub_rrset_compare() 107 if(key1->rk.dname_len != key2->rk.dname_len) { in ub_rrset_compare() 108 if(key1->rk.dname_len < key2->rk.dname_len) in ub_rrset_compare() 112 if((c=query_dname_compare(key1->rk.dname, key2->rk.dname)) != 0) in ub_rrset_compare() 114 if(key1->rk.rrset_class != key2->rk.rrset_class) { in ub_rrset_compare() 115 if(key1->rk.rrset_class < key2->rk.rrset_class) in ub_rrset_compare() 119 if(key1->rk.flags != key2->rk.flags) { in ub_rrset_compare() [all …]
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | mutex_pool.h | 58 uintptr_t key2) { in mutex_pool_lock2() argument 62 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_lock2() 76 uintptr_t key2) { in mutex_pool_unlock2() argument 78 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_unlock2()
|
| /freebsd-13.1/lib/libc/iconv/ |
| H A D | citrus_pivot_factory.c | 111 char key1[LINE_MAX], key2[LINE_MAX], data[LINE_MAX]; in convert_line() local 139 snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line); in convert_line() 154 return (_db_factory_add32_by_s(se->se_df, key2, val)); in convert_line()
|
| /freebsd-13.1/contrib/libucl/tests/basic/ |
| H A D | 18.in | 24 key2 = "wtf??" 30 key2 = "OMG" # low priority
|
| H A D | 2.res | 24 key2 = 60.0; 25 key2 = "/some/path";
|
| H A D | 2.in | 7 key2 = 1min 15 key2 = /some/path;
|
| H A D | 12.res | 2 key2 = "12 value";
|
| H A D | 12.in | 2 key2: 12 value
|
| H A D | load.res | 3 key2 = <<EOD
|
| /freebsd-13.1/sys/contrib/openzfs/module/icp/os/ |
| H A D | modhash.c | 161 #define MH_KEYCMP(hash, key1, key2) ((hash->mh_keycmp)(key1, key2)) argument 221 mod_hash_strkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_strkey_cmp() argument 223 return (strcmp((char *)key1, (char *)key2)); in mod_hash_strkey_cmp() 286 mod_hash_ptrkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_ptrkey_cmp() argument 289 uintptr_t k2 = (uintptr_t)key2; in mod_hash_ptrkey_cmp() 353 mod_hash_idkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_idkey_cmp() argument 355 return ((uint_t)(uintptr_t)key1 - (uint_t)(uintptr_t)key2); in mod_hash_idkey_cmp()
|
| /freebsd-13.1/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_keycache.c | 194 u_int32_t key0, key1, key2, key3, key4; in ar9300_set_key_cache_entry() local 259 key2 = LE_READ_4(k->kv_val + 6) ^ xor_mask; in ar9300_set_key_cache_entry() 299 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar9300_set_key_cache_entry() 365 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar9300_set_key_cache_entry() 450 u_int32_t key0, key1, key2, key3, key4; in ar9300_check_key_cache_entry() local 509 key2 = LE_READ_4(k->kv_val + 6) ^ xorMask; in ar9300_check_key_cache_entry() 533 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) && in ar9300_check_key_cache_entry() 582 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) && in ar9300_check_key_cache_entry()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ar5210/ |
| H A D | ar5210_keycache.c | 114 uint32_t key0, key1, key2, key3, key4; in ar5210SetKeyCacheEntry() local 139 key2 = LE_READ_4(k->kv_val+6) ^ xorMask; in ar5210SetKeyCacheEntry() 153 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5210SetKeyCacheEntry()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ar5211/ |
| H A D | ar5211_keycache.c | 121 uint32_t key0, key1, key2, key3, key4; in ar5211SetKeyCacheEntry() local 160 key2 = LE_READ_4(k->kv_val+6) ^ xorMask; in ar5211SetKeyCacheEntry() 174 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5211SetKeyCacheEntry()
|
| /freebsd-13.1/sys/dev/ath/ath_hal/ar5212/ |
| H A D | ar5212_keycache.c | 162 uint32_t key0, key1, key2, key3, key4; in ar5212SetKeyCacheEntry() local 219 key2 = LE_READ_4(k->kv_val+6) ^ xorMask; in ar5212SetKeyCacheEntry() 242 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5212SetKeyCacheEntry() 295 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5212SetKeyCacheEntry()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | hmac.c | 177 u_char *key2 = "Jefe"; in main() local 192 hmac_test(key2, strlen(key2), data2, strlen(data2), dig2, sizeof(dig2)); in main()
|
| /freebsd-13.1/contrib/unbound/services/cache/ |
| H A D | infra.h | 441 int infra_compfunc(void* key1, void* key2); 453 int rate_compfunc(void* key1, void* key2); 465 int ip_rate_compfunc(void* key1, void* key2);
|
| /freebsd-13.1/contrib/unbound/services/ |
| H A D | outside_network.h | 816 int pending_cmp(const void* key1, const void* key2); 819 int serviced_cmp(const void* key1, const void* key2); 822 int reuse_cmp(const void* key1, const void* key2); 825 int reuse_id_cmp(const void* key1, const void* key2);
|
| /freebsd-13.1/contrib/dialog/ |
| H A D | calendar.c | 719 int key2; in dialog_calendar() local 892 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) { in dialog_calendar() 893 result = key2; in dialog_calendar() 931 key2 = -1; in dialog_calendar() 933 if ((key2 = dlg_ok_buttoncode(Mouse2Key(key))) >= 0) { in dialog_calendar() 934 result = key2; in dialog_calendar() 939 key2 = 1; in dialog_calendar() 947 if (key2 < 0) { in dialog_calendar()
|
| /freebsd-13.1/sys/opencrypto/ |
| H A D | xform_aes_xts.c | 103 rijndael_encrypt(&ctx->key2, ctx->tweak, ctx->tweak); in aes_xts_reinit() 159 rijndael_set_key(&ctx->key2, key + (len / 2), len * 4); in aes_xts_setkey()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | sctp_auth.c | 351 sctp_compare_key(sctp_key_t *key1, sctp_key_t *key2) in sctp_compare_key() argument 361 key2len = sctp_get_keylen(key2); in sctp_compare_key() 375 key_2 = key2->key; in sctp_compare_key() 402 sctp_compute_hashkey(sctp_key_t *key1, sctp_key_t *key2, sctp_key_t *shared) in sctp_compute_hashkey() argument 408 keylen = sctp_get_keylen(key1) + sctp_get_keylen(key2) + in sctp_compute_hashkey() 426 if (sctp_compare_key(key1, key2) <= 0) { in sctp_compute_hashkey() 436 if (sctp_get_keylen(key2)) { in sctp_compute_hashkey() 437 memcpy(key_ptr, key2->key, key2->keylen); in sctp_compute_hashkey() 445 if (sctp_get_keylen(key2)) { in sctp_compute_hashkey() 446 memcpy(key_ptr, key2->key, key2->keylen); in sctp_compute_hashkey() [all …]
|
| /freebsd-13.1/contrib/libucl/tests/ |
| H A D | streamline.res | 2 key2 = "test \\nstring";
|
| /freebsd-13.1/tools/tools/ath/athregs/ |
| H A D | dumpregs.c | 687 u_int32_t key0, key1, key2, key3, key4; in ath_hal_dumpkeycache() local 708 key2 = OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)); in ath_hal_dumpkeycache() 725 , (key2 >> 0) & 0xff in ath_hal_dumpkeycache() 726 , (key2 >> 8) & 0xff in ath_hal_dumpkeycache() 727 , (key2 >> 16) & 0xff in ath_hal_dumpkeycache() 728 , (key2 >> 24) & 0xff in ath_hal_dumpkeycache()
|