Home | History | Annotate | Download | only in tls

Lines Matching refs:hdr

34 	struct asn1_hdr hdr;
39 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
40 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
42 "tag 0x%x", hdr.class, hdr.tag);
46 if (bignum_set_unsigned_bin(num, hdr.payload, hdr.length) < 0) {
51 return hdr.payload + hdr.length;
65 struct asn1_hdr hdr;
87 if (asn1_get_next(buf, len, &hdr) < 0 ||
88 hdr.class != ASN1_CLASS_UNIVERSAL ||
89 hdr.tag != ASN1_TAG_SEQUENCE) {
92 hdr.class, hdr.tag);
95 pos = hdr.payload;
96 end = pos + hdr.length;
153 struct asn1_hdr hdr;
194 if (asn1_get_next(buf, len, &hdr) < 0 ||
195 hdr.class != ASN1_CLASS_UNIVERSAL ||
196 hdr.tag != ASN1_TAG_SEQUENCE) {
199 hdr.class, hdr.tag);
202 pos = hdr.payload;
203 end = pos + hdr.length;