Lines Matching refs:cbs
67 static int parse_integer(CBS *cbs, BIGNUM **out) { in parse_integer() argument
73 return BN_parse_asn1_unsigned(cbs, *out); in parse_integer()
85 DSA_SIG *DSA_SIG_parse(CBS *cbs) { in DSA_SIG_parse() argument
91 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_parse()
114 DSA *DSA_parse_public_key(CBS *cbs) { in DSA_parse_public_key() argument
120 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_public_key()
147 DSA *DSA_parse_parameters(CBS *cbs) { in DSA_parse_parameters() argument
153 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_parameters()
178 DSA *DSA_parse_private_key(CBS *cbs) { in DSA_parse_private_key() argument
186 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_private_key()
233 CBS cbs; in d2i_DSA_SIG() local
234 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSA_SIG()
235 DSA_SIG *ret = DSA_SIG_parse(&cbs); in d2i_DSA_SIG()
243 *inp = CBS_data(&cbs); in d2i_DSA_SIG()
261 CBS cbs; in d2i_DSAPublicKey() local
262 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSAPublicKey()
263 DSA *ret = DSA_parse_public_key(&cbs); in d2i_DSAPublicKey()
271 *inp = CBS_data(&cbs); in d2i_DSAPublicKey()
289 CBS cbs; in d2i_DSAPrivateKey() local
290 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSAPrivateKey()
291 DSA *ret = DSA_parse_private_key(&cbs); in d2i_DSAPrivateKey()
299 *inp = CBS_data(&cbs); in d2i_DSAPrivateKey()
317 CBS cbs; in d2i_DSAparams() local
318 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSAparams()
319 DSA *ret = DSA_parse_parameters(&cbs); in d2i_DSAparams()
327 *inp = CBS_data(&cbs); in d2i_DSAparams()