Home
last modified time | relevance | path

Searched refs:DecodeHexString (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/quic/crypto/
Dchacha20_poly1305_decrypter_test.cc104 ASSERT_TRUE(DecodeHexString(test_vectors[i].key, &key)); in TEST()
105 ASSERT_TRUE(DecodeHexString(test_vectors[i].iv, &iv)); in TEST()
106 ASSERT_TRUE(DecodeHexString(test_vectors[i].aad, &aad)); in TEST()
107 ASSERT_TRUE(DecodeHexString(test_vectors[i].ct, &ct)); in TEST()
109 ASSERT_TRUE(DecodeHexString(test_vectors[i].pt, &pt)); in TEST()
Dchacha20_poly1305_encrypter_test.cc72 ASSERT_TRUE(DecodeHexString(test_vectors[i].key, &key)); in TEST()
73 ASSERT_TRUE(DecodeHexString(test_vectors[i].pt, &pt)); in TEST()
74 ASSERT_TRUE(DecodeHexString(test_vectors[i].iv, &iv)); in TEST()
75 ASSERT_TRUE(DecodeHexString(test_vectors[i].aad, &aad)); in TEST()
76 ASSERT_TRUE(DecodeHexString(test_vectors[i].ct, &ct)); in TEST()
Daes_128_gcm_12_decrypter_test.cc286 ASSERT_TRUE(DecodeHexString(test_vectors[j].key, &key)); in TEST()
287 ASSERT_TRUE(DecodeHexString(test_vectors[j].iv, &iv)); in TEST()
288 ASSERT_TRUE(DecodeHexString(test_vectors[j].ct, &ct)); in TEST()
289 ASSERT_TRUE(DecodeHexString(test_vectors[j].aad, &aad)); in TEST()
290 ASSERT_TRUE(DecodeHexString(test_vectors[j].tag, &tag)); in TEST()
292 ASSERT_TRUE(DecodeHexString(test_vectors[j].pt, &pt)); in TEST()
Daes_128_gcm_12_encrypter_test.cc239 ASSERT_TRUE(DecodeHexString(test_vectors[j].key, &key)); in TEST()
240 ASSERT_TRUE(DecodeHexString(test_vectors[j].iv, &iv)); in TEST()
241 ASSERT_TRUE(DecodeHexString(test_vectors[j].pt, &pt)); in TEST()
242 ASSERT_TRUE(DecodeHexString(test_vectors[j].aad, &aad)); in TEST()
243 ASSERT_TRUE(DecodeHexString(test_vectors[j].ct, &ct)); in TEST()
244 ASSERT_TRUE(DecodeHexString(test_vectors[j].tag, &tag)); in TEST()
Dchannel_id_test.cc202 ASSERT_TRUE(DecodeHexString(test_vector[i].msg, &msg)); in TEST()
203 ASSERT_TRUE(DecodeHexString(test_vector[i].qx, &qx)); in TEST()
204 ASSERT_TRUE(DecodeHexString(test_vector[i].qy, &qy)); in TEST()
205 ASSERT_TRUE(DecodeHexString(test_vector[i].r, &r)); in TEST()
206 ASSERT_TRUE(DecodeHexString(test_vector[i].s, &s)); in TEST()
Dcrypto_utils_test.cc101 ASSERT_TRUE(DecodeHexString(test_vector[i].subkey_secret, &subkey_secret)); in TEST()
102 ASSERT_TRUE(DecodeHexString(test_vector[i].label, &label)); in TEST()
103 ASSERT_TRUE(DecodeHexString(test_vector[i].context, &context)); in TEST()
108 ASSERT_TRUE(DecodeHexString(test_vector[i].expected, &expected)); in TEST()
/external/chromium_org/net/quic/test_tools/
Dquic_test_utils.h77 bool DecodeHexString(const base::StringPiece& hex, std::string* bytes);
Dquic_test_utils.cc523 bool DecodeHexString(const base::StringPiece& hex, std::string* bytes) { in DecodeHexString() function