Home | History | Annotate | Download | only in ssl

Lines Matching refs:cbs

175 enum ssl_open_record_t dtls_open_record(SSL *ssl, uint8_t *out_type, CBS *out,
181 CBS cbs;
182 CBS_init(&cbs, in, in_len);
188 CBS body;
189 if (!CBS_get_u8(&cbs, &type) ||
190 !CBS_get_u16(&cbs, &version) ||
191 !CBS_copy_bytes(&cbs, sequence, 8) ||
192 !CBS_get_u16_length_prefixed(&cbs, &body) ||
211 *out_consumed = in_len - CBS_len(&cbs);
225 *out_consumed = in_len - CBS_len(&cbs);
228 *out_consumed = in_len - CBS_len(&cbs);