Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/pkcs8/
Dpkcs8_test.cc183 static const uint8_t kSampleKey[] = { in TestRoundTrip() local
198 const uint8_t *ptr = kSampleKey; in TestRoundTrip()
200 d2i_PKCS8_PRIV_KEY_INFO(nullptr, &ptr, sizeof(kSampleKey))); in TestRoundTrip()
202 ASSERT_EQ(kSampleKey + sizeof(kSampleKey), ptr); in TestRoundTrip()
216 ASSERT_EQ(static_cast<size_t>(len), sizeof(kSampleKey)); in TestRoundTrip()
217 ASSERT_EQ(0, OPENSSL_memcmp(encoded, kSampleKey, sizeof(kSampleKey))); in TestRoundTrip()
282 static const uint8_t kSampleKey[] = { in TEST() local
297 const uint8_t *ptr = kSampleKey; in TEST()
299 d2i_PKCS8_PRIV_KEY_INFO(nullptr, &ptr, sizeof(kSampleKey))); in TEST()
301 ASSERT_EQ(kSampleKey + sizeof(kSampleKey), ptr); in TEST()