Lines Matching refs:cbs
282 CBS cbs; in TestOneInput() local
283 CBS_init(&cbs, buf, len); in TestOneInput()
284 bssl::UniquePtr<SSL> ssl = SetupTest(&cbs); in TestOneInput()
297 SSL_set0_rbio(ssl.get(), MakeBIO(CBS_data(&cbs), CBS_len(&cbs)).release()); in TestOneInput()
374 CBS cbs; in Init() local
375 CBS_init(&cbs, kP256KeyPKCS8, sizeof(kP256KeyPKCS8)); in Init()
376 pkey.reset(EVP_parse_private_key(&cbs)); in Init()
388 bssl::UniquePtr<SSL> SetupTest(CBS *cbs) { in SetupTest() argument
402 if (!CBS_get_u16(cbs, &tag)) { in SetupTest()
411 if (!CBS_get_u24_length_prefixed(cbs, &data)) { in SetupTest()
437 if (!CBS_get_u8(cbs, &variant)) { in SetupTest()
453 CBS cbs; member
459 CBS_init(&b->cbs, in, len); in MakeBIO()
471 len = std::min(static_cast<size_t>(len), CBS_len(&b->cbs)); in BIORead()
472 memcpy(out, CBS_data(&b->cbs), len); in BIORead()
473 CBS_skip(&b->cbs, len); in BIORead()
479 if (!CBS_get_u24_length_prefixed(&b->cbs, &packet)) { in BIORead()