/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | pbkdf_test.cc | 62 const uint8_t kKey1[] = {0x0c, 0x60, 0xc8, 0x0f, 0x96, 0x1f, 0x0e, in TEST() local 70 uint8_t key[sizeof(kKey1)]; in TEST() 75 EVP_sha1(), sizeof(kKey1), key)); in TEST() 76 EXPECT_EQ(Bytes(kKey1), Bytes(key, sizeof(kKey1))); in TEST() 91 const uint8_t kKey1[] = {0xae, 0x4d, 0x0c, 0x95, 0xaf, 0x6b, 0x46, 0xd3, in TEST() local 107 static_assert(sizeof(key) >= sizeof(kKey1), "output too small"); in TEST() 110 EVP_sha256(), sizeof(kKey1), key)); in TEST() 111 EXPECT_EQ(Bytes(kKey1), Bytes(key, sizeof(kKey1))); in TEST()
|
/external/boringssl/src/crypto/evp/ |
D | pbkdf_test.cc | 62 const uint8_t kKey1[] = {0x0c, 0x60, 0xc8, 0x0f, 0x96, 0x1f, 0x0e, in TEST() local 70 uint8_t key[sizeof(kKey1)]; in TEST() 75 EVP_sha1(), sizeof(kKey1), key)); in TEST() 76 EXPECT_EQ(Bytes(kKey1), Bytes(key, sizeof(kKey1))); in TEST() 91 const uint8_t kKey1[] = {0xae, 0x4d, 0x0c, 0x95, 0xaf, 0x6b, 0x46, 0xd3, in TEST() local 107 static_assert(sizeof(key) >= sizeof(kKey1), "output too small"); in TEST() 110 EVP_sha256(), sizeof(kKey1), key)); in TEST() 111 EXPECT_EQ(Bytes(kKey1), Bytes(key, sizeof(kKey1))); in TEST()
|
/external/grpc-grpc/test/cpp/server/load_reporter/ |
D | load_data_store_test.cc | 45 : kKey1(kLbId1, kLbTag1, kUser1, kClientIp1), in LoadDataStoreTest() 88 const LoadRecordKey kKey1; member in grpc::testing::__anond1ccbc0c0111::LoadDataStoreTest 216 store_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F() 217 store_invalid_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F() 233 store_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F() 234 store_invalid_lb_id_1->MergeRow(kKey1, LoadRecordValue()); in TEST_F() 309 load_data_store.MergeRow(kHostname1, kKey1, v1); in TEST_F() 323 EXPECT_EQ(store_lb_id_1->load_record_map().find(kKey1)->second.start_count(), in TEST_F() 331 load_data_store.MergeRow(kHostname1, kKey1, v4); in TEST_F() 333 EXPECT_EQ(store_lb_id_1->load_record_map().find(kKey1)->second.start_count(), in TEST_F() [all …]
|
/external/libchrome/dbus/ |
D | values_util_unittest.cc | 273 const std::string kKey1 = "one"; in TEST() local 274 entry_writer.AppendString(kKey1); in TEST() 300 dictionary_value.SetBoolean(kKey1, kBoolValue); in TEST() 320 const std::string kKey1 = "www.example.com"; // String including dots. in TEST() local 321 entry_writer.AppendString(kKey1); in TEST() 341 dictionary_value.SetKey(kKey1, base::Value(kBoolValue)); in TEST() 507 const std::string kKey1 = "one"; in TEST() local 524 dictionary_value->SetBoolean(kKey1, kBoolValue); in TEST() 528 test_dictionary.SetBoolean(kKey1, kBoolValue); in TEST() 554 const std::string kKey1 = "one"; in TEST() local [all …]
|
/external/pigweed/pw_kvs/ |
D | entry_test.cc | 95 constexpr auto kKey1 = bytes::String("key45"); variable 102 uint8_t(kKey1.size()), // key length 107 constexpr auto kEntryWithoutPadding1 = bytes::Concat(kHeader1, kKey1, kValue1); 312 bytes::Concat(kHeader1, kKey1, kValue1, bytes::String("\0\0\0\0\1"))); in TEST() 420 alignment_units + kKey1.size() + kValue1.size() + in MakeNewFormatWithSumEntry() 421 ByteSum(bytes::Concat(kTransactionId1 + 1)) + ByteSum(kKey1) + in MakeNewFormatWithSumEntry() 428 uint8_t(kKey1.size()), // key length in MakeNewFormatWithSumEntry() 433 kNewHeader1, kKey1, kValue1, bytes::Initialized<padding>(0)); in MakeNewFormatWithSumEntry() 526 uint8_t(kKey1.size()), // key length in TEST_F() 530 bytes::Concat(kNewHeader1, kKey1, kValue1, kPadding1); in TEST_F()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 86 static const uint8_t kKey1[] = variable 391 {kKey1, sizeof(kKey1) - 1, kOAEPCiphertext1, sizeof(kOAEPCiphertext1) - 1}, 591 RSA_private_key_from_bytes(kKey1, sizeof(kKey1) - 1)); in TEST() 599 EXPECT_EQ(Bytes(kKey1, sizeof(kKey1) - 1), Bytes(der, der_len)); in TEST() 1055 RSA_private_key_from_bytes(kKey1, sizeof(kKey1) - 1)); in TEST() 1130 RSA_private_key_from_bytes(kKey1, sizeof(kKey1) - 1)); in TEST()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 86 static const uint8_t kKey1[] = variable 391 {kKey1, sizeof(kKey1) - 1, kOAEPCiphertext1, sizeof(kOAEPCiphertext1) - 1}, 593 RSA_private_key_from_bytes(kKey1, sizeof(kKey1) - 1)); in TEST() 601 EXPECT_EQ(Bytes(kKey1, sizeof(kKey1) - 1), Bytes(der, der_len)); in TEST() 1057 RSA_private_key_from_bytes(kKey1, sizeof(kKey1) - 1)); in TEST() 1132 RSA_private_key_from_bytes(kKey1, sizeof(kKey1) - 1)); in TEST()
|