Home
last modified time | relevance | path

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

12345678910

/third_party/curl/tests/unit/
H A Dunit1603.c56 char key2[] = "key2b"; variable
67 Curl_hash_str(key2, strlen(key2), slots) != 0 ||
78 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
80 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
81 fail_unless(nodep == key2, "hash retrieval failed");
97 nodep = Curl_hash_pick(&hash_static, &key2, strle
[all...]
/third_party/node/deps/openssl/openssl/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()
[all...]
/third_party/openssl/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()
[all...]
/third_party/selinux/libsepol/cil/src/
H A Dcil_symtab.c154 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; in cil_complex_symtab_hash()
187 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
195 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_insert()
200 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
206 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
236 ckey->key2 in cil_complex_symtab_search()
[all...]
/third_party/openssl/test/
H A Digetest.c82 const unsigned char key2[32]; member
95 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f}, /* key2 */
120 0x67, 0x7b, 0x58, 0xa8, 0x18, 0xf9, 0x72, 0xe4}, /* key2 */
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, sizeo in test_bi_ige_vectors()
329 AES_KEY key, key2; test_bi_ige_enc_dec() local
350 AES_KEY key, key2; test_bi_ige_garble1() local
381 AES_KEY key, key2; test_bi_ige_garble2() local
412 AES_KEY key, key2; test_bi_ige_garble3() local
[all...]
/third_party/ffmpeg/libavutil/tests/
H A Dhmac.c46 static const uint8_t key2[] = "Jefe"; in main() local
65 test(hmac, key2, sizeof(key2), data2, sizeof(data2)); in main()
79 test(hmac, key2, sizeof(key2), data2, sizeof(data2)); in main()
/third_party/node/deps/openssl/openssl/include/crypto/
H A Daes_platform.h41 const AES_KEY *key2, const unsigned char iv[16]);
44 const AES_KEY *key2, const unsigned char iv[16]);
55 const AES_KEY *key1, const AES_KEY *key2,
58 const AES_KEY *key1, const AES_KEY *key2,
196 const AES_KEY *key1, const AES_KEY *key2,
202 const AES_KEY *key1, const AES_KEY *key2,
293 const AES_KEY *key2, const unsigned char *ivec);
296 const AES_KEY *key2, const unsigned char *ivec);
299 const AES_KEY *key2, const unsigned char *ivec);
302 const AES_KEY *key2, cons
[all...]
/third_party/openssl/include/crypto/
H A Daes_platform.h41 const AES_KEY *key2, const unsigned char iv[16]);
44 const AES_KEY *key2, const unsigned char iv[16]);
55 const AES_KEY *key1, const AES_KEY *key2,
58 const AES_KEY *key1, const AES_KEY *key2,
196 const AES_KEY *key1, const AES_KEY *key2,
202 const AES_KEY *key1, const AES_KEY *key2,
293 const AES_KEY *key2, const unsigned char *ivec);
296 const AES_KEY *key2, const unsigned char *ivec);
299 const AES_KEY *key2, const unsigned char *ivec);
302 const AES_KEY *key2, cons
[all...]
/third_party/skia/tests/
H A DImageFilterCacheTest.cpp48 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing()
58 REPORTER_ASSERT(reporter, !cache->get(key2, &foundImage)); in test_find_existing()
73 SkImageFilterCacheKey key2(0, SkMatrix::Translate(5, 5), clip1, in test_dont_find_if_diff_key()
84 REPORTER_ASSERT(reporter, !cache->get(key2, &foundImage)); in test_dont_find_if_diff_key()
97 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
108 cache->set(key2, filter2.get(), in test_internal_purge()
111 REPORTER_ASSERT(reporter, cache->get(key2, &foundImage)); in test_internal_purge()
124 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset()); in test_explicit_purging()
131 cache->set(key2, filter2.get(), in test_explicit_purging()
137 REPORTER_ASSERT(reporter, cache->get(key2, in test_explicit_purging()
[all...]
/third_party/json/tests/src/
H A Dunit-element_access2.cpp1546 const char* key2 = "baz"; variable
1553 CHECK(j.value(key2, 0) == 42);
1554 CHECK(j.value(key2, 47) == 42);
1555 CHECK(j.value(key2, integer) == 42);
1556 CHECK(j.value(key2, size) == 42);
1571 const char key2[] = "baz"; // NOLINT(hicpp-avoid-c-arrays,modernize-avoid-c-arrays,cppcoreguidelines-avoid-c-arrays) variable
1578 CHECK(j.value(key2, 0) == 42);
1579 CHECK(j.value(key2, 47) == 42);
1580 CHECK(j.value(key2, integer) == 42);
1581 CHECK(j.value(key2, siz
1596 string_t key2 = "baz"; global() variable
1622 std::string_view key2 = "baz"; global() variable
1676 const char* key2 = "baz"; global() variable
1705 const char key2[] = "baz"; // NOLINT(hicpp-avoid-c-arrays,modernize-avoid-c-arrays,cppcoreguidelines-avoid-c-arrays) global() variable
1734 string_t key2 = "baz"; global() variable
1760 std::string_view key2 = "baz"; global() variable
[all...]
/third_party/node/test/parallel/
H A Dtest-crypto-dh.js15 const key2 = dh2.generateKeys('hex');
16 const secret1 = dh1.computeSecret(key2, 'hex', 'base64');
38 const secret3 = dh3.computeSecret(key2, 'hex', 'base64');
51 const secret4 = dh4.computeSecret(key2, 'hex', 'base64');
/third_party/ltp/testcases/kernel/syscalls/request_key/
H A Drequest_key02.c29 static int key2; variable
38 {"ltp2", EKEYREVOKED, &key2},
91 key2 = init_key("ltp2", KEYCTL_REVOKE); in setup()
/third_party/icu/icu4c/source/test/intltest/
H A Duvectest.cpp74 UVectorTest_compareInt32(UElement key1, UElement key2) { in UVectorTest_compareInt32() argument
75 if (key1.integer > key2.integer) { in UVectorTest_compareInt32()
78 else if (key1.integer < key2.integer) { in UVectorTest_compareInt32()
86 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { in UVectorTest_compareCstrings() argument
87 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer); in UVectorTest_compareCstrings()
183 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) { in neverTRUE()
/third_party/ffmpeg/libavfilter/
H A Daf_silencedetect.c70 char key2[128]; in set_meta() local
73 snprintf(key2, sizeof(key2), "lavfi.%s.%d", key, channel); in set_meta()
75 snprintf(key2, sizeof(key2), "lavfi.%s", key); in set_meta()
76 av_dict_set(&insamples->metadata, key2, value, 0); in set_meta()
H A Dvf_identity.c160 char key2[128]; in set_meta() local
161 snprintf(key2, sizeof(key2), "lavfi.%s.%s%s%c", in set_meta()
163 av_dict_set(metadata, key2, value, 0); in set_meta()
165 char key2[128]; in set_meta() local
166 snprintf(key2, sizeof(key2), "lavfi.%s.%s%s", in set_meta()
168 av_dict_set(metadata, key2, value, 0); in set_meta()
/third_party/node/deps/v8/src/compiler/
H A Dstate-values-utils.cc24 bool StateValuesCache::AreKeysEqual(void* key1, void* key2) { in AreKeysEqual() argument
26 NodeKey* node_key2 = reinterpret_cast<NodeKey*>(key2); in AreKeysEqual()
31 reinterpret_cast<StateValuesKey*>(key2)); in AreKeysEqual()
39 return IsKeysEqualToNode(reinterpret_cast<StateValuesKey*>(key2), in AreKeysEqual()
75 StateValuesKey* key2) { in AreValueKeysEqual()
76 if (key1->count != key2->count) { in AreValueKeysEqual()
79 if (key1->mask != key2->mask) { in AreValueKeysEqual()
83 if (key1->values[i] != key2->values[i]) { in AreValueKeysEqual()
74 AreValueKeysEqual(StateValuesKey* key1, StateValuesKey* key2) AreValueKeysEqual() argument
/third_party/node/deps/openssl/openssl/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()
174 ok = ok && (key1->priv_key == NULL /* implies key2->privkey == 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()
/third_party/openssl/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()
174 ok = ok && (key1->priv_key == NULL /* implies key2->privkey == 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()
/third_party/icu/icu4c/source/common/
H A Duelement.h77 * @param key2 The string for comparison
78 * @return true if key1 and key2 are equal, return false otherwise.
81 uhash_compareUnicodeString(const UElement key1, const UElement key2);
88 * @param key2 The string for comparison
89 * @return true if key1 and key2 are equal, return false otherwise.
92 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
H A Duhash.h701 * @param key2 The string for comparison
702 * @return true if key1 and key2 are equal, return false otherwise.
705 uhash_compareUChars(const UHashTok key1, const UHashTok key2);
711 * @param key2 The string for comparison
712 * @return true if key1 and key2 are equal, return false otherwise.
715 uhash_compareChars(const UHashTok key1, const UHashTok key2);
721 * @param key2 The string for comparison
722 * @return true if key1 and key2 are equal, return false otherwise.
725 uhash_compareIChars(const UHashTok key1, const UHashTok key2);
764 * @return true if key1 and key2 ar
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duelement.h77 * @param key2 The string for comparison
78 * @return true if key1 and key2 are equal, return false otherwise.
81 uhash_compareUnicodeString(const UElement key1, const UElement key2);
88 * @param key2 The string for comparison
89 * @return true if key1 and key2 are equal, return false otherwise.
92 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
/third_party/skia/third_party/externals/icu/source/common/
H A Duelement.h74 * @param key2 The string for comparison
75 * @return true if key1 and key2 are equal, return false otherwise.
78 uhash_compareUnicodeString(const UElement key1, const UElement key2);
85 * @param key2 The string for comparison
86 * @return true if key1 and key2 are equal, return false otherwise.
89 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationCreationMethodTest.java47 CollationKey key2; in TestRuleVsLocaleCreationMonkey()
81 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
83 report(locale.getDisplayName(), randString1, key1, key2); in TestRuleVsLocaleCreationMonkey()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationCreationMethodTest.java50 CollationKey key2; in TestRuleVsLocaleCreationMonkey()
84 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
86 report(locale.getDisplayName(), randString1, key1, key2); in TestRuleVsLocaleCreationMonkey()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct-json/
H A Dtest2.c26 "\"key2\":" "null"
37 "\"key2\":" "null"
63 const char *key2; member
68 LSM_STRING_PTR (t2_cred_t, key2, "key2"),
147 lwsl_notice("%s: key1: %s, key2: %s\n", __func__, in t2_config_dump()
148 c->creds->key1, c->creds->key2); in t2_config_dump()

Completed in 14 milliseconds

12345678910