Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bio/
Dbio_test.cc332 static bool ReadASN1(bool should_succeed, const uint8_t *data, size_t data_len, in ReadASN1() function
362 if (!ReadASN1(true, kData1, sizeof(kData1), 4, 100) || in TestASN1()
363 !ReadASN1(false, kData2, sizeof(kData2), 0, 100) || in TestASN1()
364 !ReadASN1(false, kData3, sizeof(kData3), 0, 100) || in TestASN1()
365 !ReadASN1(false, kData4, sizeof(kData4), 0, 100)) { in TestASN1()
380 if (!ReadASN1(true, large.get(), sizeof(kLargePrefix) + kLargePayloadLen, in TestASN1()
387 if (!ReadASN1(false, large.get(), sizeof(kLargePrefix) + kLargePayloadLen, in TestASN1()
396 if (!ReadASN1(true, large.get(), sizeof(kLargePrefix) + kLargePayloadLen, in TestASN1()
403 if (!ReadASN1(false, large.get(), sizeof(kLargePrefix) + kLargePayloadLen, in TestASN1()