Home | History | Annotate | Download | only in digest_extra

Lines Matching refs:cbs

141 static const EVP_MD *cbs_to_md(const CBS *cbs) {
143 if (CBS_len(cbs) == kMDOIDs[i].oid_len &&
144 OPENSSL_memcmp(CBS_data(cbs), kMDOIDs[i].oid, kMDOIDs[i].oid_len) ==
159 CBS cbs;
160 CBS_init(&cbs, obj->data, obj->length);
161 return cbs_to_md(&cbs);
164 const EVP_MD *EVP_parse_digest_algorithm(CBS *cbs) {
165 CBS algorithm, oid;
166 if (!CBS_get_asn1(cbs, &algorithm, CBS_ASN1_SEQUENCE) ||
183 CBS param;