Searched refs:k2 (Results 1 - 25 of 186) sorted by relevance

12345678

/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/i386/
H A Dproperty-6.s2 kmovw %k1, %k2
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/xchacha20/
H A Dstream_xchacha20.c32 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; local
34 crypto_core_hchacha20(k2, n, k, NULL);
35 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES <= sizeof k2);
41 k2);
49 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; local
51 crypto_core_hchacha20(k2, n, k, NULL);
53 c, m, mlen, n + crypto_core_hchacha20_INPUTBYTES, ic, k2);
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dbrootinv.c83 mp_limb_t kinv, k2, r0, y0; local
92 k2 = (k >> 1) + 1; /* (k + 1) / 2 , but avoid k+1 overflow */
99 k%4 +-------------------------+k2%2
106 r0 = y0 ^ (((y0 << 1) ^ (y0 << 2)) & (k2 << 3) & 8); /* 4 bits */
107 r0 = kinv * (k2 * r0 * 2 - y0 * powsquaredlimb(r0, k2 & 0x3f)); /* 8 bits */
108 r0 = kinv * (k2 * r0 * 2 - y0 * powsquaredlimb(r0, k2 & 0x3fff)); /* 16 bits */
114 r0 = kinv * (k2 * r0 * 2 - y0 * powsquaredlimb(r0, k2));
[all...]
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Dhash.h145 uint32_t k2 = hash_get_block_32(blocks, i*4 + 1); local
154 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2;
175 uint32_t k2 = 0; local
193 case 8: k2 ^= tail[ 7] << 24; /*FALLTHROUGH*/
194 case 7: k2 ^= tail[ 6] << 16; /*FALLTHROUGH*/
195 case 6: k2
245 uint64_t k2 = hash_get_block_64(blocks, i*2 + 1); local
263 uint64_t k2 = 0; local
[all...]
H A Dckh.h97 bool ckh_string_keycomp(const void *k1, const void *k2);
99 bool ckh_pointer_keycomp(const void *k1, const void *k2);
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dhash.h145 uint32_t k2 = hash_get_block_32(blocks, i*4 + 1); local
154 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2;
175 uint32_t k2 = 0; local
193 case 8: k2 ^= (uint32_t)tail[ 7] << 24; /*FALLTHROUGH*/
194 case 7: k2 ^= tail[ 6] << 16; /*FALLTHROUGH*/
195 case 6: k2
245 uint64_t k2 = hash_get_block_64(blocks, i*2 + 1); local
263 uint64_t k2 = 0; local
[all...]
H A Dckh.h97 bool ckh_string_keycomp(const void *k1, const void *k2);
99 bool ckh_pointer_keycomp(const void *k1, const void *k2);
/netbsd-current/external/gpl3/gcc.old/dist/libobjc/objc-private/
H A Dhash.h183 objc_compare_ptrs (const void *k1, const void *k2) argument
185 return (k1 == k2);
191 objc_compare_strings (const void *k1, const void *k2) argument
193 if (k1 == k2)
195 else if (k1 == 0 || k2 == 0)
198 return ! strcmp ((const char *) k1, (const char *) k2);
/netbsd-current/external/gpl3/gcc/dist/libobjc/objc-private/
H A Dhash.h183 objc_compare_ptrs (const void *k1, const void *k2) argument
185 return (k1 == k2);
191 objc_compare_strings (const void *k1, const void *k2) argument
193 if (k1 == k2)
195 else if (k1 == 0 || k2 == 0)
198 return ! strcmp ((const char *) k1, (const char *) k2);
/netbsd-current/external/bsd/unbound/dist/testcode/
H A Dunitecs.c215 addrkey_t k2[] = {0x55, 0x5D, 0x5A}; local
217 unit_assert( !unittest_wrapper_addrtree_issub(k1, 24, k2, 24, 0) );
218 unit_assert( unittest_wrapper_addrtree_issub(k1, 8, k2, 16, 0) );
219 unit_assert( unittest_wrapper_addrtree_issub(k2, 12, k1, 13, 0) );
220 unit_assert( !unittest_wrapper_addrtree_issub(k1, 16, k2, 12, 0) );
221 unit_assert( unittest_wrapper_addrtree_issub(k1, 12, k2, 12, 0) );
222 unit_assert( !unittest_wrapper_addrtree_issub(k1, 13, k2, 13, 0) );
223 unit_assert( unittest_wrapper_addrtree_issub(k1, 24, k2, 24, 13) );
224 unit_assert( !unittest_wrapper_addrtree_issub(k1, 24, k2, 20, 13) );
225 unit_assert( unittest_wrapper_addrtree_issub(k1, 20, k2, 2
241 addrkey_t k2[] = {0,0,0,0,0,0,0,0}; local
264 addrkey_t k2[] = {0x5A, 0xF0}; local
[all...]
H A Dunitlruhash.c85 testkey_type* k2 = newkey(12 + 1024); local
108 unit_assert( k->entry.hash == k2->entry.hash );
109 unit_assert( bin_find_entry(table, &bin, h, k2, NULL) == NULL );
133 unit_assert( k->entry.hash == k2->entry.hash );
134 unit_assert( bin_find_entry(table, &bin, h, k2, NULL) == NULL );
155 delkey(k2);
165 testkey_type* k2 = newkey(14); local
184 lru_front(table, &k2->entry);
185 unit_assert( table->lru_start == &k2->entry &&
188 lru_remove(table, &k2
212 testkey_type* k2 = newkey(14); local
[all...]
/netbsd-current/lib/libtelnet/
H A Dencrypt.h70 #define SAMEKEY(k1, k2) (!bcmp((void *)k1, (void *)k2, sizeof(Block)))
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_aead/xchacha20poly1305/sodium/
H A Daead_xchacha20poly1305.c28 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; local
32 crypto_core_hchacha20(k2, npub, k, NULL);
36 (c, mac, maclen_p, m, mlen, ad, adlen, nsec, npub2, k2);
37 sodium_memzero(k2, crypto_core_hchacha20_OUTPUTBYTES);
81 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; local
85 crypto_core_hchacha20(k2, npub, k, NULL);
89 (m, nsec, c, clen, mac, ad, adlen, npub2, k2);
90 sodium_memzero(k2, crypto_core_hchacha20_OUTPUTBYTES);
/netbsd-current/crypto/external/bsd/openssl/lib/libdes/
H A Doofb64ede.c67 des_key_schedule k2, des_key_schedule k3, des_cblock *ivec,
93 des_encrypt3(ti,k1,k2,k3);
120 des_key_schedule k2, des_cblock (*ivec), int *num)
122 des_ede3_ofb64_encrypt(in, out, length, k1,k2,k1, ivec, num);
65 des_ede3_ofb64_encrypt(register const unsigned char *in, register unsigned char *out, long length, des_key_schedule k1, des_key_schedule k2, des_key_schedule k3, des_cblock *ivec, int *num) argument
118 des_ede2_ofb64_encrypt(register unsigned char *in, register unsigned char *out, long length, des_key_schedule k1, des_key_schedule k2, des_cblock (*ivec), int *num) argument
H A Ddes.h91 #define des_ecb2_encrypt(i,o,k1,k2,e) \
92 des_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
94 #define des_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
95 des_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
97 #define des_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
98 des_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
100 #define des_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
101 des_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
/netbsd-current/crypto/external/bsd/openssl.old/lib/libdes/
H A Doofb64ede.c67 des_key_schedule k2, des_key_schedule k3, des_cblock *ivec,
93 des_encrypt3(ti,k1,k2,k3);
120 des_key_schedule k2, des_cblock (*ivec), int *num)
122 des_ede3_ofb64_encrypt(in, out, length, k1,k2,k1, ivec, num);
65 des_ede3_ofb64_encrypt(register const unsigned char *in, register unsigned char *out, long length, des_key_schedule k1, des_key_schedule k2, des_key_schedule k3, des_cblock *ivec, int *num) argument
118 des_ede2_ofb64_encrypt(register unsigned char *in, register unsigned char *out, long length, des_key_schedule k1, des_key_schedule k2, des_cblock (*ivec), int *num) argument
H A Ddes.h91 #define des_ecb2_encrypt(i,o,k1,k2,e) \
92 des_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
94 #define des_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
95 des_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
97 #define des_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
98 des_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
100 #define des_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
101 des_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
/netbsd-current/tests/lib/libc/gen/
H A Dt_ftok.c65 key_t k1, k2, k3; local
76 k2 = ftok(hlnk, key);
80 ATF_REQUIRE(k2 != -1);
83 if (k1 != k2)
/netbsd-current/sys/opencrypto/
H A Daesxcbcmac.h16 u_int8_t k2[AES_BLOCKSIZE]; member in struct:__anon21
/netbsd-current/external/mpl/bind/dist/bin/tests/system/dnssec/ns7/
H A Dsign.sh26 k2=$("$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -n zone "$zone")
28 cat "$infile" "$k1.key" "$k2.key" >"$zonefile"
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/comp_match/
H A Dcomponentlib.c93 ComponentBits* k, **k2; local
99 k2 = (ComponentBits**) v;
100 *k2 = (ComponentBits*) CompAlloc( mem_op, sizeof( ComponentBits ) );
101 if ( !*k2 ) return LDAP_DECODING_ERROR;
102 k = *k2;
130 ComponentBits* k, **k2; local
136 k2 = (ComponentBits**) v;
137 *k2 = (ComponentBits*) CompAlloc( mem_op, sizeof( ComponentBits ) );
138 if ( !*k2 ) return LDAP_DECODING_ERROR;
139 k = *k2;
183 ComponentBMPString* k, **k2; local
224 ComponentBMPString* k, **k2; local
277 ComponentUTF8String* k, **k2; local
317 ComponentUTF8String* k, **k2; local
369 ComponentTeletexString* k, **k2; local
439 ComponentBool* k, **k2; local
476 ComponentBool* k, **k2; local
551 ComponentEnum* k, **k2; local
603 ComponentEnum* k, **k2; local
672 ComponentIA5String* k, **k2; local
761 ComponentInt* k, **k2; local
798 ComponentInt* k, **k2; local
867 ComponentNull* k, **k2; local
918 ComponentNull* k, **k2; local
973 ComponentNumericString* k, **k2; local
1072 ComponentOcts* k, **k2; local
1122 ComponentOcts* k, **k2; local
1249 ComponentOid* k, **k2; local
1297 ComponentOid* k, **k2; local
1342 ComponentPrintableString* k, **k2; local
1387 ComponentTeletexString* k, **k2; local
1462 ComponentReal* k, **k2; local
1498 ComponentReal* k, **k2; local
1576 ComponentRelativeOid* k, **k2; local
1612 ComponentRelativeOid* k, **k2; local
1684 ComponentUniversalString* k, **k2; local
1726 ComponentVisibleString* k, **k2; local
1829 ComponentAny *k, **k2; local
1871 ComponentAny *k, **k2; local
1910 ComponentAny *k, **k2; local
[all...]
/netbsd-current/external/bsd/unbound/dist/util/storage/
H A Ddnstree.h212 int name_tree_compare(const void* k1, const void* k2);
215 int addr_tree_compare(const void* k1, const void* k2);
218 int addr_tree_addrport_compare(const void* k1, const void* k2);
/netbsd-current/external/mpl/bind/dist/bin/tests/system/views/
H A Dsetup.sh27 # We remove k1 and k2 as KEYGEN is deterministic when given the
34 k2=$($KEYGEN -K ns2/external -a ${DEFAULT_ALGORITHM} -qfk inline 2>/dev/null)
38 test -n "$k2" && rm -f ns2/external/"$k2".*
/netbsd-current/usr.bin/lorder/
H A Dlorder.sh100 "${SORT}" -k2 $R -o $R
101 "${SORT}" -k2 $S -o $S
/netbsd-current/lib/libc/db/btree/
H A Dbt_utils.c152 DBT k2; local
173 k2.data = bl->bytes;
174 k2.size = bl->ksize;
181 k2.data = bi->bytes;
182 k2.size = bi->ksize;
188 &k2.size, &t->bt_rdata.data, &t->bt_rdata.size))
190 k2.data = t->bt_rdata.data;
192 return ((*t->bt_cmp)(k1, &k2));

Completed in 255 milliseconds

12345678