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

123

/freebsd-11-stable/crypto/openssl/crypto/des/
H A Dstr2key.c100 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
107 memset(key2, 0, 8);
112 (*key2)[i] = (*key1)[i] = (str[i] << 1);
117 (*key2)[i % 8] ^= (str[i] << 1);
129 (*key2)[i % 8] ^= (j << 1);
137 (*key2)[7 - (i % 8)] ^= j;
141 memcpy(key2, key1, 8);
144 DES_set_odd_parity(key2);
154 if (DES_is_weak_key(key2))
155 (*key2)[
[all...]
H A Dread2pwd.c129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, argument
136 DES_string_to_2keys(buf, key1, key2);
H A Ddes_old.c291 _ossl_old_des_cblock *key2,
294 return DES_read_2passwords(key1, key2, prompt, verify);
325 _ossl_old_des_cblock *key2)
327 DES_string_to_2keys(str, key1, key2);
290 _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2, const char *prompt, int verify) argument
324 _ossl_old_des_string_to_2keys(char *str, _ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2) argument
H A Ddes.h239 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
248 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2,
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_pivot_factory.c109 char key1[LINE_MAX], key2[LINE_MAX], data[LINE_MAX]; local
130 /* key2 */
137 snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line);
152 return (_db_factory_add32_by_s(se->se_df, key2, val));
/freebsd-11-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-11-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_keycache.c112 uint32_t key0, key1, key2, key3, key4; local
137 key2 = LE_READ_4(k->kv_val+6) ^ xorMask;
151 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_keycache.c119 uint32_t key0, key1, key2, key3, key4; local
158 key2 = LE_READ_4(k->kv_val+6) ^ xorMask;
173 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/freebsd-11-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-11-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.h88 rijndael_ctx key2; member in struct:aes_xts_ctx
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_keycache.c160 uint32_t key0, key1, key2, key3, key4; local
217 key2 = LE_READ_4(k->kv_val+6) ^ xorMask;
240 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
294 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/freebsd-11-stable/contrib/unbound/edns-subnet/
H A Daddrtree.h180 const addrkey_t *key2, addrlen_t n);
/freebsd-11-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-11-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-11-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-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_test.c82 static int key2(RSA *key, unsigned char *c) function
240 clen = key2(key, ctext_ex);
/freebsd-11-stable/crypto/openssl/crypto/aes/
H A Daes.h134 const AES_KEY *key2, const unsigned char *ivec,
/freebsd-11-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-11-stable/crypto/openssl/crypto/ecdh/
H A Decdhtest.c241 BIO_puts(out, " key2 =");
432 EC_KEY *key1 = NULL, *key2 = NULL; local
438 key2 = mk_eckey(nid, k2, k2_len);
439 if (!key1 || !key2)
446 EC_KEY_get0_public_key(key2), key1, 0))
452 EC_KEY_get0_public_key(key1), key2, 0))
460 if (key2)
461 EC_KEY_free(key2);
/freebsd-11-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-11-stable/stand/libsa/geli/
H A Dgeliboot_crypto.c82 rijndael_set_key(&ctxp->key2, key + (xts_len / 16), xts_len / 2);
/freebsd-11-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));

Completed in 606 milliseconds

123