Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 157) sorted by relevance

1234567

/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DIndexMap2D.h42 void put (Key1_t key1, Key2_t key2, Value_t val);
43 Value_t get (Key1_t key1, Key2_t key2);
44 Value_t get (Key1_t key1, Key2_t key2,
46 Value_t remove (Key1_t key1, Key2_t key2);
68 IndexMap2D<Key1_t, Key2_t, Value_t>::put (Key1_t key1, Key2_t key2, Value_t val) in put() argument
70 if (key1 < 0 || key2 < 0) in put()
80 map2->store ((int) key2, val); in put()
85 IndexMap2D<Key1_t, Key2_t, Value_t>::get (Key1_t key1, Key2_t key2) in get() argument
87 if (key1 < 0 || key1 >= map1->size () || key2 < 0) in get()
90 if (map2 == NULL || key2 >= map2->size ()) in get()
[all …]
H A DDefaultMap2D.h43 void put (Key1_t key1, Key2_t key2, Value_t val);
44 Value_t get (Key1_t key1, Key2_t key2);
45 Value_t get (Key1_t key1, Key2_t key2,
82 DefaultMap2D<Key1_t, Key2_t, Value_t>::put (Key1_t key1, Key2_t key2, Value_t val) in put() argument
94 map2->put (key2, val); in put()
99 DefaultMap2D<Key1_t, Key2_t, Value_t>::get (Key1_t key1, Key2_t key2) in get() argument
104 return map2->get (key2); in get()
109 DefaultMap2D<Key1_t, Key2_t, Value_t>::get (Key1_t key1, Key2_t key2, in get() argument
134 return map2->get (key2, rel2); in get()
H A DMap2D.h46 virtual void put (Key1_t key1, Key2_t key2, Value_t val) = 0;
47 virtual Value_t get (Key1_t key1, Key2_t key2) = 0;
48 virtual Value_t get (Key1_t key1, Key2_t key2, Relation rel) = 0;
49 virtual Value_t remove (Key1_t key1, Key2_t key2) = 0;
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DIndexMap2D.h42 void put (Key1_t key1, Key2_t key2, Value_t val);
43 Value_t get (Key1_t key1, Key2_t key2);
44 Value_t get (Key1_t key1, Key2_t key2,
46 Value_t remove (Key1_t key1, Key2_t key2);
68 IndexMap2D<Key1_t, Key2_t, Value_t>::put (Key1_t key1, Key2_t key2, Value_t val) in put() argument
70 if (key1 < 0 || key2 < 0) in put()
80 map2->store ((int) key2, val); in put()
85 IndexMap2D<Key1_t, Key2_t, Value_t>::get (Key1_t key1, Key2_t key2) in get() argument
87 if (key1 < 0 || key1 >= map1->size () || key2 < 0) in get()
90 if (map2 == NULL || key2 >= map2->size ()) in get()
[all …]
H A DDefaultMap2D.h43 void put (Key1_t key1, Key2_t key2, Value_t val);
44 Value_t get (Key1_t key1, Key2_t key2);
45 Value_t get (Key1_t key1, Key2_t key2,
82 DefaultMap2D<Key1_t, Key2_t, Value_t>::put (Key1_t key1, Key2_t key2, Value_t val) in put() argument
94 map2->put (key2, val); in put()
99 DefaultMap2D<Key1_t, Key2_t, Value_t>::get (Key1_t key1, Key2_t key2) in get() argument
104 return map2->get (key2); in get()
109 DefaultMap2D<Key1_t, Key2_t, Value_t>::get (Key1_t key1, Key2_t key2, in get() argument
134 return map2->get (key2, rel2); in get()
H A DMap2D.h46 virtual void put (Key1_t key1, Key2_t key2, Value_t val) = 0;
47 virtual Value_t get (Key1_t key1, Key2_t key2) = 0;
48 virtual Value_t get (Key1_t key1, Key2_t key2, Relation rel) = 0;
49 virtual Value_t remove (Key1_t key1, Key2_t key2) = 0;
/netbsd-src/crypto/external/bsd/openssl/lib/libdes/
H A Dostr2key.c95 void des_string_to_2keys(const char *str, des_cblock *key1, des_cblock *key2) in des_string_to_2keys() argument
102 memset(key2,0,8); in des_string_to_2keys()
109 (*key2)[i]=(*key1)[i]=(str[i]<<1); in des_string_to_2keys()
117 (*key2)[i%8]^=(str[i]<<1); in des_string_to_2keys()
131 (*key2)[i%8]^=(j<<1); in des_string_to_2keys()
141 (*key2)[7-(i%8)]^=j; in des_string_to_2keys()
144 if (length <= 8) memcpy(key2,key1,8); in des_string_to_2keys()
147 des_set_odd_parity(key2); in des_string_to_2keys()
150 des_set_key_unchecked(key2,ks); in des_string_to_2keys()
151 des_cbc_cksum((const unsigned char*)str,key2,length,ks,key2); in des_string_to_2keys()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/lib/libdes/
H A Dostr2key.c95 void des_string_to_2keys(const char *str, des_cblock *key1, des_cblock *key2) in des_string_to_2keys() argument
102 memset(key2,0,8); in des_string_to_2keys()
109 (*key2)[i]=(*key1)[i]=(str[i]<<1); in des_string_to_2keys()
117 (*key2)[i%8]^=(str[i]<<1); in des_string_to_2keys()
131 (*key2)[i%8]^=(j<<1); in des_string_to_2keys()
141 (*key2)[7-(i%8)]^=j; in des_string_to_2keys()
144 if (length <= 8) memcpy(key2,key1,8); in des_string_to_2keys()
147 des_set_odd_parity(key2); in des_string_to_2keys()
150 des_set_key_unchecked(key2,ks); in des_string_to_2keys()
151 des_cbc_cksum((const unsigned char*)str,key2,length,ks,key2); in des_string_to_2keys()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/des/
H A Dstr2key.c46 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument
52 memset(key2, 0, 8); in DES_string_to_2keys()
61 (*key2)[i % 8] ^= (j << 1); in DES_string_to_2keys()
69 (*key2)[7 - (i % 8)] ^= j; in DES_string_to_2keys()
73 memcpy(key2, key1, 8); in DES_string_to_2keys()
75 DES_set_odd_parity(key2); in DES_string_to_2keys()
78 DES_set_key_unchecked(key2, &ks); in DES_string_to_2keys()
79 DES_cbc_cksum((const unsigned char *)str, key2, length, &ks, key2); in DES_string_to_2keys()
82 DES_set_odd_parity(key2); in DES_string_to_2keys()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/des/
H A Dstr2key.c40 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()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Digetest.c82 const unsigned char key2[32]; member
195 AES_KEY key2; in test_bi_ige_vectors() local
203 AES_set_encrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors()
206 AES_set_decrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors()
209 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv, in test_bi_ige_vectors()
214 test_output_memory("key 2", v->key2, sizeof(v->key2)); in test_bi_ige_vectors()
329 AES_KEY key, key2; in test_bi_ige_enc_dec() local
336 AES_set_encrypt_key(rkey2, 8 * sizeof(rkey2), &key2); in test_bi_ige_enc_dec()
337 AES_bi_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, &key2, iv, in test_bi_ige_enc_dec()
341 AES_set_decrypt_key(rkey2, 8 * sizeof(rkey2), &key2); in test_bi_ige_enc_dec()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Digetest.c77 const unsigned char key2[32]; member
190 AES_KEY key2; in test_bi_ige_vectors() local
198 AES_set_encrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors()
201 AES_set_decrypt_key(v->key2, 8 * v->keysize, &key2); in test_bi_ige_vectors()
204 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv, in test_bi_ige_vectors()
209 test_output_memory("key 2", v->key2, sizeof(v->key2)); in test_bi_ige_vectors()
324 AES_KEY key, key2; in test_bi_ige_enc_dec() local
331 AES_set_encrypt_key(rkey2, 8 * sizeof(rkey2), &key2); in test_bi_ige_enc_dec()
332 AES_bi_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, &key2, iv, in test_bi_ige_enc_dec()
336 AES_set_decrypt_key(rkey2, 8 * sizeof(rkey2), &key2); in test_bi_ige_enc_dec()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/otp/
H A Dotp_verify.c46 OtpKey key1, key2; in otp_verify_user_1() local
52 memcpy (key2, key1, sizeof(key1)); in otp_verify_user_1()
53 ctx->alg->next (key2); in otp_verify_user_1()
54 if (memcmp (ctx->key, key2, sizeof(key2)) == 0) { in otp_verify_user_1()
H A Dotptest.c48 OtpKey key2; in test_one() local
56 if (otp_parse (key2, buf, alg)) { in test_one()
60 if (memcmp (key1, key2, OTPKEYSIZE) != 0) { in test_one()
/netbsd-src/sys/external/isc/libsodium/dist/test/default/
H A Dauth.c10 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()
/netbsd-src/external/mpl/bind/dist/bin/tests/system/redirect/ns3/
H A Dsign.sh21 key2=$($KEYGEN -q -a ${DEFAULT_ALGORITHM} -fk $zone)
23 cat $infile $key1.key $key2.key >$zonefile
32 key2=$($KEYGEN -q -a ${DEFAULT_ALGORITHM} -3 -fk $zone)
34 cat $infile $key1.key $key2.key >$zonefile
/netbsd-src/external/mpl/bind/dist/bin/tests/system/redirect/ns1/
H A Dsign.sh21 key2=$($KEYGEN -q -a ${DEFAULT_ALGORITHM} -fk $zone)
23 cat $infile $key1.key $key2.key >$zonefile
32 key2=$($KEYGEN -q -a ${DEFAULT_ALGORITHM} -3 -fk $zone)
34 cat $infile $key1.key $key2.key >$zonefile
/netbsd-src/external/mpl/bind/dist/bin/tests/system/redirect/ns5/
H A Dsign.sh25 key2=$($KEYGEN -q -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -fk $zone 2>/dev/null)
27 cat $infile $key1.key $key2.key >$zonefile
39 key2=$($KEYGEN -q -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -fk $zone 2>/dev/null)
42 cat $infile dsset-signed. $key1.key $key2.key >$zonefile
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dpacked_rrset.c98 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 …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-wt/
H A Dkey.c49 WT_ITEM key2; in wt_key_read() local
68 rc = cursor->get_key(cursor, &key2, &id); in wt_key_read()
77 if (key.size != key2.size || memcmp(key.data, key2.data, key.size)) { in wt_key_read()
/netbsd-src/external/bsd/jemalloc/include/jemalloc/internal/
H A Dmutex_pool.h58 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()
/netbsd-src/external/mpl/bind/dist/bin/tests/system/cds/
H A Dsetup.sh26 key2=$($KEYGEN -q -a $DEFAULT_ALGORITHM -f KSK $Z)
30 id2=$(keyfile_to_key_id $key2)
35 key2=$key2
60 convert $key2 2
/netbsd-src/external/mpl/bind/dist/bin/tests/system/dsdigest/ns1/
H A Dsign.sh26 key2=$($KEYGEN -q -a ${DEFAULT_ALGORITHM} -n zone -f KSK $zone)
28 cat $infile $key1.key $key2.key >$zonefile
33 keyfile_to_static_ds $key2 >trusted.conf
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/
H A Dmac_legacy_kmgmt.c160 const MAC_KEY *key2 = keydata2; in mac_match() local
167 if ((key1->priv_key == NULL && key2->priv_key != NULL) in mac_match()
168 || (key1->priv_key != NULL && key2->priv_key == NULL) in mac_match()
169 || key1->priv_key_len != key2->priv_key_len in mac_match()
170 || (key1->cipher.cipher == NULL && key2->cipher.cipher != NULL) in mac_match()
171 || (key1->cipher.cipher != NULL && key2->cipher.cipher == NULL)) in mac_match()
175 || CRYPTO_memcmp(key1->priv_key, key2->priv_key, in mac_match()
179 EVP_CIPHER_get0_name(key2->cipher.cipher)); in mac_match()
/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/
H A Dm-static.cc15 static long key2; member in gnu_obj_1
30 return key2; in method()
44 long gnu_obj_1::key2 = 77; member in gnu_obj_1

1234567