Lines Matching defs:cbs
4651 CBS cbs;
4652 CBS_init(&cbs, data, len);
4656 if (!PKCS7_get_certificates(outCerts.get(), &cbs)) {
4667 if (!PKCS7_get_CRLs(outCRLs.get(), &cbs)) {
4705 CBS cbs, sequence;
4706 CBS_init(&cbs, data, len);
4707 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE)) {
4713 CBS child;
8032 static bool ocsp_cert_id_matches_certificate(CBS *cert_id, X509 *x509, X509 *issuerX509) {
8034 CBS hash_algorithm, hash;
8041 CBS issuer_name_hash;
8047 CBS issuer_key_hash;
8053 CBS serial;
8101 static bool find_ocsp_single_response(CBS* responses, X509 *x509, X509 *issuerX509,
8102 CBS *out_single_response) {
8106 CBS single_response;
8112 CBS single_response_original = single_response;
8116 CBS cert_id;
8136 static bool get_ocsp_basic_response(CBS *ocsp_response, CBS *basic_response) {
8137 CBS tagged_response_bytes, response_bytes, response_type, response;
8167 static bool get_ocsp_single_responses(CBS *basic_response, CBS *single_responses) {
8169 CBS response_data;
8191 static bool get_ocsp_single_response_extensions(CBS *single_response, CBS *extensions) {
8230 CBS cbs;
8231 CBS_init(&cbs, reinterpret_cast<const uint8_t*>(ocspData.get()), ocspData.size());
8234 CBS ocsp_response;
8235 if (!CBS_get_asn1(&cbs, &ocsp_response, CBS_ASN1_SEQUENCE)) {
8240 CBS basic_response;
8246 CBS responses;
8254 CBS single_response;
8260 CBS extensions;