Searched refs:key2 (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-12-stable/crypto/openssl/crypto/des/
H A Dstr2key.c40 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
46 memset(key2, 0, 8);
55 (*key2)[i % 8] ^= (j << 1);
63 (*key2)[7 - (i % 8)] ^= j;
67 memcpy(key2, key1, 8);
69 DES_set_odd_parity(key2);
72 DES_set_key_unchecked(key2, &ks);
73 DES_cbc_cksum((const unsigned char *)str, key2, length, &ks, key2);
76 DES_set_odd_parity(key2);
[all...]
/freebsd-12-stable/sys/contrib/libsodium/test/default/
H A Dauth.c10 static unsigned char key2[] = variable
46 crypto_auth_hmacsha512_init(&st, key2, sizeof key2);
57 crypto_auth_hmacsha256_init(&st256, key2, sizeof key2);
H A Daead_xchacha20poly1305.c32 unsigned char *key2 = (unsigned char *) sodium_malloc(crypto_aead_xchacha20poly1305_ietf_KEYBYTES); local
165 crypto_aead_xchacha20poly1305_ietf_keygen(key2);
167 NULL, 0U, nonce, key2) == 0) {
173 sodium_free(key2);
/freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dmutex_pool.h58 uintptr_t key2) {
62 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2);
76 uintptr_t key2) {
78 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2);
57 mutex_pool_lock2(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key1, uintptr_t key2) argument
75 mutex_pool_unlock2(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key1, uintptr_t key2) argument
/freebsd-12-stable/lib/libc/iconv/
H A Dcitrus_pivot_factory.c111 char key1[LINE_MAX], key2[LINE_MAX], data[LINE_MAX]; local
132 /* key2 */
139 snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line);
154 return (_db_factory_add32_by_s(se->se_df, key2, val));
/freebsd-12-stable/contrib/unbound/util/data/
H A Dpacked_rrset.c98 struct ub_packed_rrset_key* key2 = (struct ub_packed_rrset_key*)k2; local
100 if(key1 == key2)
102 if(key1->rk.type != key2->rk.type) {
103 if(key1->rk.type < key2->rk.type)
107 if(key1->rk.dname_len != key2->rk.dname_len) {
108 if(key1->rk.dname_len < key2->rk.dname_len)
112 if((c=query_dname_compare(key1->rk.dname, key2->rk.dname)) != 0)
114 if(key1->rk.rrset_class != key2->rk.rrset_class) {
115 if(key1->rk.rrset_class < key2->rk.rrset_class)
119 if(key1->rk.flags != key2
[all...]
/freebsd-12-stable/contrib/unbound/services/cache/
H A Dinfra.h437 int infra_compfunc(void* key1, void* key2);
449 int rate_compfunc(void* key1, void* key2);
461 int ip_rate_compfunc(void* key1, void* key2);
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_keycache.c114 uint32_t key0, key1, key2, key3, key4; local
139 key2 = LE_READ_4(k->kv_val+6) ^ xorMask;
153 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_keycache.c121 uint32_t key0, key1, key2, key3, key4; local
160 key2 = LE_READ_4(k->kv_val+6) ^ xorMask;
174 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/freebsd-12-stable/sys/opencrypto/
H A Dxform_aes_xts.c94 rijndael_encrypt(&ctx->key2, ctx->tweak, ctx->tweak);
153 rijndael_set_key(&ctx->key2, key + (len / 2), len * 4);
H A Dxform_enc.h98 rijndael_ctx key2; member in struct:aes_xts_ctx
/freebsd-12-stable/contrib/unbound/edns-subnet/
H A Daddrtree.h180 const addrkey_t *key2, addrlen_t n);
/freebsd-12-stable/contrib/unbound/services/
H A Doutside_network.h768 int pending_cmp(const void* key1, const void* key2);
771 int serviced_cmp(const void* key1, const void* key2);
774 int reuse_cmp(const void* key1, const void* key2);
777 int reuse_id_cmp(const void* key1, const void* key2);
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_keycache.c162 uint32_t key0, key1, key2, key3, key4; local
219 key2 = LE_READ_4(k->kv_val+6) ^ xorMask;
242 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
295 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/freebsd-12-stable/contrib/dialog/
H A Dcalendar.c432 int key2; local
567 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) {
568 result = key2;
604 key2 = -1;
606 if ((key2 = dlg_ok_buttoncode(key - M_EVENT)) >= 0) {
607 result = key2;
612 key2 = 1;
619 if (key2 < 0)
H A Drangebox.c212 int key = 0, key2, fkey; local
318 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) {
319 result = key2;
H A Dtimebox.c179 int key = 0, key2, fkey; local
291 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) {
292 result = key2;
/freebsd-12-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_keycache.c194 u_int32_t key0, key1, key2, key3, key4; local
259 key2 = LE_READ_4(k->kv_val + 6) ^ xor_mask;
299 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
365 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
450 u_int32_t key0, key1, key2, key3, key4; local
509 key2 = LE_READ_4(k->kv_val + 6) ^ xorMask;
533 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) &&
582 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) &&
/freebsd-12-stable/crypto/openssl/include/openssl/
H A Daes.h77 const AES_KEY *key2, const unsigned char *ivec,
/freebsd-12-stable/crypto/openssh/
H A Dhmac.c176 u_char *key2 = "Jefe"; local
191 hmac_test(key2, strlen(key2), data2, strlen(data2), dig2, sizeof(dig2));
/freebsd-12-stable/contrib/gdb/gdb/
H A Dmacrotab.c323 struct macro_key *key2 = (struct macro_key *) untyped_key2;
325 return key_compare (key1, key2->name, key2->start_file, key2->start_line);
320 struct macro_key *key2 = (struct macro_key *) untyped_key2; local
/freebsd-12-stable/stand/libsa/geli/
H A Dgeliboot_crypto.c82 rijndael_set_key(&ctxp->key2, key + (xts_len / 16), xts_len / 2);
/freebsd-12-stable/contrib/unbound/util/storage/
H A Dslabhash.c197 int test_slabhash_compfunc(void* key1, void* key2) argument
200 struct slabhash_testkey* k2 = (struct slabhash_testkey*)key2;
/freebsd-12-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dhash.c128 hash_remove_cb(void *key1, void *key2, void *arg) argument
131 return (hash->h_cmp(key1, key2));
/freebsd-12-stable/sys/netinet/
H A Dsctp_auth.c349 * returns: 1 if key1 > key2
350 * -1 if key1 < key2
351 * 0 if key1 = key2
354 sctp_compare_key(sctp_key_t *key1, sctp_key_t *key2) argument
364 key2len = sctp_get_keylen(key2);
378 key_2 = key2->key;
405 sctp_compute_hashkey(sctp_key_t *key1, sctp_key_t *key2, sctp_key_t *shared) argument
411 keylen = sctp_get_keylen(key1) + sctp_get_keylen(key2) +
429 if (sctp_compare_key(key1, key2) <= 0) {
430 /* key is shared + key1 + key2 */
[all...]

Completed in 177 milliseconds

123