Home
last modified time | relevance | path

Searched refs:GetBytes (Results 1 – 25 of 78) sorted by relevance

1234

/external/boringssl/src/fipstools/
Dcavp_aes_gcm_test.cc61 !t->GetBytes(&key, "Key") || in TestAEADEncrypt()
62 !t->GetBytes(&iv, "IV") || in TestAEADEncrypt()
63 !t->GetBytes(&pt, "PT") || in TestAEADEncrypt()
64 !t->GetBytes(&aad, "AAD") || in TestAEADEncrypt()
102 !t->GetBytes(&key, "Key") || in TestAEADDecrypt()
103 !t->GetBytes(&aad, "AAD") || in TestAEADDecrypt()
104 !t->GetBytes(&tag, "Tag") || in TestAEADDecrypt()
105 !t->GetBytes(&iv, "IV") || in TestAEADDecrypt()
106 !t->GetBytes(&ct, "CT") || in TestAEADDecrypt()
Dcavp_tdes_test.cc94 (num_keys == 0 && !t->GetBytes(&keys, "KEYs")) || in TestKAT()
96 (!t->GetBytes(&key1, "KEY1") || in TestKAT()
97 !t->GetBytes(&key2, "KEY2") || in TestKAT()
98 !t->GetBytes(&key3, "KEY3"))) || in TestKAT()
99 (ctx->has_iv && !t->GetBytes(&iv, "IV")) || in TestKAT()
100 !t->GetBytes(&in, in_label)) { in TestKAT()
216 if (!t->GetBytes(&key1, "KEY1") || in TestMCT()
217 !t->GetBytes(&key2, "KEY2") || in TestMCT()
218 !t->GetBytes(&key3, "KEY3") || in TestMCT()
219 (ctx->has_iv && !t->GetBytes(&iv, "IV")) || in TestMCT()
[all …]
Dcavp_tlskdf_test.cc52 if (!t->GetBytes(&premaster, "pre_master_secret") || in TestTLSKDF()
53 !t->GetBytes(&server_random, "serverHello_random") || in TestTLSKDF()
54 !t->GetBytes(&client_random, "clientHello_random") || in TestTLSKDF()
57 !t->GetBytes(&key_block_server_random, "server_random") || in TestTLSKDF()
58 !t->GetBytes(&key_block_client_random, "client_random") || in TestTLSKDF()
Dcavp_ctr_drbg_test.cc49 !t->GetBytes(&entropy, "EntropyInput") || in TestCTRDRBG()
50 !t->GetBytes(&nonce, "Nonce") || in TestCTRDRBG()
51 !t->GetBytes(&personalization_str, "PersonalizationString") || in TestCTRDRBG()
52 !t->GetBytes(&ai1, "AdditionalInput") || in TestCTRDRBG()
53 !t->GetBytes(&ai2, "AdditionalInput/2") || in TestCTRDRBG()
Dcavp_rsa2_sigver_test.cc52 return t->GetBytes(&ctx->N, "n"); in TestRSA2SigVer()
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
59 !t->GetBytes(&msg, "Msg") || in TestRSA2SigVer()
60 !t->GetBytes(&sig, "S")) { in TestRSA2SigVer()
Dcavp_aes_test.cc145 !t->GetBytes(&key, "KEY") || in TestCipher()
146 (ctx->has_iv && !t->GetBytes(&iv, "IV"))) { in TestCipher()
152 if (!t->GetBytes(&in, "PLAINTEXT")) { in TestCipher()
156 if (!t->GetBytes(&in, "CIPHERTEXT")) { in TestCipher()
Dcavp_hmac_test.cc60 !t->GetBytes(&key, "Key") || in TestHMAC()
61 !t->GetBytes(&msg, "Msg")) { in TestHMAC()
Dcavp_keywrap_test.cc72 !t->GetBytes(&key, "K") || in TestCipher()
73 !t->GetBytes(&in, in_label)) { in TestCipher()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg_test.cc90 ASSERT_TRUE(t->GetBytes(&seed, "EntropyInput")); in TEST()
91 ASSERT_TRUE(t->GetBytes(&personalisation, "PersonalizationString")); in TEST()
92 ASSERT_TRUE(t->GetBytes(&reseed, "EntropyInputReseed")); in TEST()
93 ASSERT_TRUE(t->GetBytes(&ai_reseed, "AdditionalInputReseed")); in TEST()
94 ASSERT_TRUE(t->GetBytes(&ai1, "AdditionalInput1")); in TEST()
95 ASSERT_TRUE(t->GetBytes(&ai2, "AdditionalInput2")); in TEST()
96 ASSERT_TRUE(t->GetBytes(&expected, "ReturnedBits")); in TEST()
/external/boringssl/src/crypto/cmac/
Dcmac_test.cc132 ASSERT_TRUE(t->GetBytes(&key, "key")); in TEST()
133 ASSERT_TRUE(t->GetBytes(&msg, "msg")); in TEST()
134 ASSERT_TRUE(t->GetBytes(&tag, "tag")); in TEST()
199 ASSERT_TRUE(t->GetBytes(&key, "Key1")); in RunCAVPTest()
200 ASSERT_TRUE(t->GetBytes(&key2, "Key2")); in RunCAVPTest()
201 ASSERT_TRUE(t->GetBytes(&key3, "Key3")); in RunCAVPTest()
205 ASSERT_TRUE(t->GetBytes(&key, "Key")); in RunCAVPTest()
207 ASSERT_TRUE(t->GetBytes(&msg, "Msg")); in RunCAVPTest()
208 ASSERT_TRUE(t->GetBytes(&mac, "Mac")); in RunCAVPTest()
/external/boringssl/src/crypto/cipher_extra/
Dcipher_test.cc220 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TestCipher()
221 ASSERT_TRUE(t->GetBytes(&plaintext, "Plaintext")); in TestCipher()
222 ASSERT_TRUE(t->GetBytes(&ciphertext, "Ciphertext")); in TestCipher()
224 ASSERT_TRUE(t->GetBytes(&iv, "IV")); in TestCipher()
227 ASSERT_TRUE(t->GetBytes(&aad, "AAD")); in TestCipher()
228 ASSERT_TRUE(t->GetBytes(&tag, "Tag")); in TestCipher()
333 ASSERT_TRUE(t->GetBytes(&key, "key")); in TEST()
334 ASSERT_TRUE(t->GetBytes(&iv, "iv")); in TEST()
335 ASSERT_TRUE(t->GetBytes(&msg, "msg")); in TEST()
336 ASSERT_TRUE(t->GetBytes(&ct, "ct")); in TEST()
Daead_test.cc122 ASSERT_TRUE(t->GetBytes(&key, "KEY")); in TEST_P()
123 ASSERT_TRUE(t->GetBytes(&nonce, "NONCE")); in TEST_P()
124 ASSERT_TRUE(t->GetBytes(&in, "IN")); in TEST_P()
125 ASSERT_TRUE(t->GetBytes(&ad, "AD")); in TEST_P()
126 ASSERT_TRUE(t->GetBytes(&ct, "CT")); in TEST_P()
127 ASSERT_TRUE(t->GetBytes(&tag, "TAG")); in TEST_P()
229 ASSERT_TRUE(t->GetBytes(&key, "KEY")); in TEST_P()
230 ASSERT_TRUE(t->GetBytes(&nonce, "NONCE")); in TEST_P()
231 ASSERT_TRUE(t->GetBytes(&in, "IN")); in TEST_P()
232 ASSERT_TRUE(t->GetBytes(&ad, "AD")); in TEST_P()
[all …]
/external/boringssl/src/crypto/curve25519/
Ded25519_test.cc30 ASSERT_TRUE(t->GetBytes(&private_key, "PRIV")); in TEST()
32 ASSERT_TRUE(t->GetBytes(&public_key, "PUB")); in TEST()
34 ASSERT_TRUE(t->GetBytes(&message, "MESSAGE")); in TEST()
35 ASSERT_TRUE(t->GetBytes(&expected_signature, "SIG")); in TEST()
Dx25519_test.cc141 ASSERT_TRUE(t->GetBytes(&priv, "private")); in TEST()
142 ASSERT_TRUE(t->GetBytes(&pub, "public")); in TEST()
143 ASSERT_TRUE(t->GetBytes(&shared, "shared")); in TEST()
/external/boringssl/src/crypto/fipsmodule/aes/
Daes_test.cc36 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TestRaw()
37 ASSERT_TRUE(t->GetBytes(&plaintext, "Plaintext")); in TestRaw()
38 ASSERT_TRUE(t->GetBytes(&ciphertext, "Ciphertext")); in TestRaw()
78 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TestKeyWrap()
79 ASSERT_TRUE(t->GetBytes(&plaintext, "Plaintext")); in TestKeyWrap()
80 ASSERT_TRUE(t->GetBytes(&ciphertext, "Ciphertext")); in TestKeyWrap()
143 ASSERT_TRUE(t->GetBytes(&ct, "ct")); in TEST()
144 ASSERT_TRUE(t->GetBytes(&key, "key")); in TEST()
145 ASSERT_TRUE(t->GetBytes(&msg, "msg")); in TEST()
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm_test.cc70 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TEST()
71 ASSERT_TRUE(t->GetBytes(&plaintext, "Plaintext")); in TEST()
72 ASSERT_TRUE(t->GetBytes(&additional_data, "AdditionalData")); in TEST()
73 ASSERT_TRUE(t->GetBytes(&nonce, "Nonce")); in TEST()
74 ASSERT_TRUE(t->GetBytes(&ciphertext, "Ciphertext")); in TEST()
75 ASSERT_TRUE(t->GetBytes(&tag, "Tag")); in TEST()
/external/boringssl/src/crypto/evp/
Devp_test.cc149 if (!t->GetBytes(&input, "Input")) { in ImportKey()
179 !t->GetBytes(&output, "Output")) { in ImportKey()
220 if (!t->GetBytes(&label, "OAEPLabel")) { in SetupContext()
294 if (!t->GetBytes(&input, "Input") || in TestEVP()
295 (is_verify && !t->GetBytes(&output, "Output"))) { in TestEVP()
319 !t->GetBytes(&output, "Output")) { in TestEVP()
397 if (!t->GetBytes(&output, "Output")) { in TestEVP()
480 ASSERT_TRUE(t->GetBytes(&msg, "msg")); in RunWycheproofTest()
482 ASSERT_TRUE(t->GetBytes(&sig, "sig")); in RunWycheproofTest()
Dscrypt_test.cc44 ASSERT_TRUE(t->GetBytes(&password, "Password")); in TEST()
45 ASSERT_TRUE(t->GetBytes(&salt, "Salt")); in TEST()
46 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TEST()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DANTLRxxxxStreamFixture.cs67 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestANTLRInputStreamConstructorDoesNotHang()
86 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestSizeOnANTLRInputStream()
97 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestConsumeAndIndexOnANTLRInputStream()
120 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestConsumeAllCharactersInAnANTLRInputStream()
136 byte[] buffer = encoding.GetBytes("One\r\nTwo"); in TestConsumeOnANTLRInputStream()
199 byte[] buffer = encoding.GetBytes("One\r\nTwo"); in TestResetOnANTLRInputStream()
237 byte[] buffer = encoding.GetBytes("One\r\nTwo\r\nThree"); in TestSubstringOnANTLRInputStream()
257 byte[] buffer = encoding.GetBytes("One\r\nTwo\r\nThree"); in TestSeekOnANTLRInputStream()
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc74 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TEST()
75 ASSERT_TRUE(t->GetBytes(&in, "Input")); in TEST()
76 ASSERT_TRUE(t->GetBytes(&mac, "MAC")); in TEST()
/external/boringssl/src/crypto/hmac_extra/
Dhmac_test.cc95 ASSERT_TRUE(t->GetBytes(&key, "Key")); in TEST()
96 ASSERT_TRUE(t->GetBytes(&input, "Input")); in TEST()
97 ASSERT_TRUE(t->GetBytes(&output, "Output")); in TEST()
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DMarshalUtils.cs48 return EncodingUTF8.GetBytes(str); in GetBytesUTF8()
64 return EncodingASCII.GetBytes(str); in GetBytesASCII()
/external/llvm/unittests/Support/
DStreamingMemoryObjectTest.cpp21 size_t GetBytes(unsigned char *Buffer, size_t Length) override { in GetBytes() function in __anon3726ecbd0111::NullDataStreamer
32 size_t GetBytes(unsigned char *OutBuffer, size_t Length) override { in GetBytes() function in __anon3726ecbd0111::BufferStreamer
/external/perfetto/src/protozero/test/
Dfake_scattered_buffer.cc58 void FakeScatteredBuffer::GetBytes(size_t start, size_t length, uint8_t* buf) { in GetBytes() function in protozero::FakeScatteredBuffer
69 GetBytes(start, length, buffer.get()); in GetBytesAsString()
/external/zlib/src/contrib/dotzlib/DotZLib/
DChecksumImpl.cs84 Update(Encoding.UTF8.GetBytes(data)); in Update()
94 Update(encoding.GetBytes(data)); in Update()

1234