/third_party/boringssl/src/crypto/evp/ |
D | pbkdf_test.cc | 27 const uint8_t kKey[] = {0xa3, 0x3d, 0xdd, 0xc3, 0x04, 0x78, 0x18, in TEST() local 30 uint8_t key[sizeof(kKey)]; in TEST() 33 EVP_sha1(), sizeof(kKey), key)); in TEST() 34 EXPECT_EQ(Bytes(kKey), Bytes(key)); in TEST() 37 EVP_sha1(), sizeof(kKey), key)); in TEST() 38 EXPECT_EQ(Bytes(kKey), Bytes(key)); in TEST() 44 const uint8_t kKey[] = {0x8b, 0xc2, 0xf9, 0x16, 0x7a, 0x81, 0xcd, 0xcf, in TEST() local 48 uint8_t key[sizeof(kKey)]; in TEST() 51 sizeof(kKey), key)); in TEST() 52 EXPECT_EQ(Bytes(kKey), Bytes(key)); in TEST() [all …]
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | fullstack_context_mutators.h | 61 static const std::string& Key() { return kKey; } in Key() 66 static const std::string kKey; 82 static const std::string& Key() { return kKey; } in Key() 87 static const std::string kKey; 123 const std::string RandomBinaryMetadata<length>::kKey = "foo-bin"; 130 const std::string RandomAsciiMetadata<length>::kKey = "foo";
|
/third_party/boringssl/src/crypto/cmac/ |
D | cmac_test.cc | 75 static const uint8_t kKey[16] = { in TEST() local 117 test("RFC 4493 #1", kKey, sizeof(kKey), NULL, 0, kOut1); in TEST() 118 test("RFC 4493 #2", kKey, sizeof(kKey), kMsg2, sizeof(kMsg2), kOut2); in TEST() 119 test("RFC 4493 #3", kKey, sizeof(kKey), kMsg3, sizeof(kMsg3), kOut3); in TEST() 120 test("RFC 4493 #4", kKey, sizeof(kKey), kMsg4, sizeof(kMsg4), kOut4); in TEST()
|
/third_party/boringssl/src/crypto/chacha/ |
D | chacha_test.cc | 32 static const uint8_t kKey[32] = { variable 230 CRYPTO_chacha_20(buf.get(), kInput, len, kKey, kNonce, kCounter); in TEST() 235 CRYPTO_chacha_20(buf.get(), buf.get(), len, kKey, kNonce, kCounter); in TEST() 243 OPENSSL_memcpy(key, kKey, sizeof(key)); in TEST()
|
/third_party/boringssl/src/crypto/fipsmodule/aes/ |
D | aes_test.cc | 274 const uint8_t kKey[256/8] = {0}; in TEST() local 287 CHECK_ABI(aes_nohw_set_encrypt_key, kKey, bits, &key); in TEST() 297 CHECK_ABI(aes_nohw_set_decrypt_key, kKey, bits, &key); in TEST() 308 vpaes_set_encrypt_key(kKey, bits, &key); in TEST() 317 vpaes_set_decrypt_key(kKey, bits, &key); in TEST() 327 CHECK_ABI(vpaes_set_encrypt_key, kKey, bits, &key); in TEST() 340 CHECK_ABI(vpaes_set_decrypt_key, kKey, bits, &key); in TEST() 352 CHECK_ABI(aes_hw_set_encrypt_key, kKey, bits, &key); in TEST() 365 CHECK_ABI(aes_hw_set_decrypt_key, kKey, bits, &key); in TEST()
|
/third_party/boringssl/src/crypto/fipsmodule/modes/ |
D | gcm_test.cc | 177 static const uint8_t kKey[16] = {0}; in TEST() local 187 aes_hw_set_encrypt_key(kKey, 128, &aes_key); in TEST() 194 aes_hw_set_decrypt_key(kKey, 128, &aes_key); in TEST()
|
/third_party/gn/src/gn/ |
D | functions.cc | 175 const int NonNestableBlock::kKey = 0; member in NonNestableBlock 187 scope_->SetProperty(&kKey, nullptr); in ~NonNestableBlock() 191 void* scope_value = scope_->GetProperty(&kKey, nullptr); in Enter() 203 scope_->SetProperty(&kKey, this); in Enter()
|
D | functions.h | 535 static const int kKey;
|
/third_party/boringssl/src/crypto/cipher_extra/ |
D | aead_test.cc | 668 static const std::vector<uint8_t> kKey(16, 'A'); in TEST() local 682 kKey.data(), kKey.size(), in TEST()
|