| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
| H A D | tlsv1_client_ocsp.c | 116 struct asn1_hdr hdr; in tls_process_ocsp_single_response() local 141 if (asn1_get_next(resp, len, &hdr) < 0 || in tls_process_ocsp_single_response() 142 hdr.class != ASN1_CLASS_UNIVERSAL || in tls_process_ocsp_single_response() 143 hdr.tag != ASN1_TAG_SEQUENCE) { in tls_process_ocsp_single_response() 146 hdr.class, hdr.tag); in tls_process_ocsp_single_response() 149 pos = hdr.payload; in tls_process_ocsp_single_response() 150 end = hdr.payload + hdr.length; in tls_process_ocsp_single_response() 165 if (asn1_get_next(pos, end - pos, &hdr) < in tls_process_ocsp_single_response() 323 struct asn1_hdr hdr; tls_process_ocsp_responses() local 357 struct asn1_hdr hdr; tls_process_basic_ocsp_response() local 682 struct asn1_hdr hdr; tls_process_ocsp_response() local [all...] |
| H A D | tlsv1_cred.c | 446 struct asn1_hdr hdr; in pkcs12_certbag() local 458 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs12_certbag() 459 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs12_certbag() 460 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs12_certbag() 463 hdr.class, hdr.tag); in pkcs12_certbag() 467 pos = hdr.payload; in pkcs12_certbag() 468 end = hdr.payload + hdr.length; in pkcs12_certbag() 485 if (asn1_get_next(pos, end - pos, &hdr) < in pkcs12_certbag() 525 struct asn1_hdr hdr; pkcs12_parse_attr_friendly_name() local 552 struct asn1_hdr hdr; pkcs12_parse_attr_local_key_id() local 580 struct asn1_hdr hdr; pkcs12_parse_attr() local 625 struct asn1_hdr hdr; pkcs12_safebag() local 704 struct asn1_hdr hdr; pkcs12_safecontents() local 749 struct asn1_hdr hdr; pkcs12_parse_content_data() local 771 struct asn1_hdr hdr; pkcs12_parse_content_enc_data() local 890 struct asn1_hdr hdr; pkcs12_parse_content() local 928 struct asn1_hdr hdr; pkcs12_parse() local 1130 struct asn1_hdr hdr; tlsv1_set_dhparams_der() local [all...] |
| H A D | pkcs8.c | 21 struct asn1_hdr hdr; in pkcs8_key_import() local 30 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs8_key_import() 31 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs8_key_import() 32 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs8_key_import() 37 pos = hdr.payload; in pkcs8_key_import() 38 end = pos + hdr.length; in pkcs8_key_import() 41 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_key_import() 42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { in pkcs8_key_import() 45 hdr in pkcs8_key_import() 124 struct asn1_hdr hdr; pkcs8_enc_key_import() local [all...] |
| H A D | x509v3.c | 185 struct asn1_hdr hdr; in x509_parse_algorithm_identifier() local 195 if (asn1_get_next(buf, len, &hdr) < 0 || in x509_parse_algorithm_identifier() 196 hdr.class != ASN1_CLASS_UNIVERSAL || in x509_parse_algorithm_identifier() 197 hdr.tag != ASN1_TAG_SEQUENCE) { in x509_parse_algorithm_identifier() 200 hdr.class, hdr.tag); in x509_parse_algorithm_identifier() 203 if (hdr.length > buf + len - hdr.payload) in x509_parse_algorithm_identifier() 205 pos = hdr.payload; in x509_parse_algorithm_identifier() 206 end = pos + hdr in x509_parse_algorithm_identifier() 223 struct asn1_hdr hdr; x509_parse_public_key() local 294 struct asn1_hdr hdr; x509_parse_name() local 695 struct asn1_hdr hdr; x509_parse_validity() local 778 struct asn1_hdr hdr; x509_parse_ext_key_usage() local 815 struct asn1_hdr hdr; x509_parse_ext_basic_constraints() local 994 struct asn1_hdr hdr; x509_parse_ext_alt_name() local 1072 struct asn1_hdr hdr; x509_parse_ext_subject_alt_name() local 1099 struct asn1_hdr hdr; x509_parse_ext_issuer_alt_name() local 1175 struct asn1_hdr hdr; x509_parse_ext_ext_key_usage() local 1263 struct asn1_hdr hdr; x509_parse_extension() local 1340 struct asn1_hdr hdr; x509_parse_extensions() local 1370 struct asn1_hdr hdr; x509_parse_tbs_certificate() local 1655 struct asn1_hdr hdr; x509_certificate_parse() local 1776 struct asn1_hdr hdr; x509_check_signature() local [all...] |
| H A D | pkcs5.c | 93 struct asn1_hdr hdr; in pkcs5_get_params_pbes2() local 109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2() 110 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs5_get_params_pbes2() 111 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs5_get_params_pbes2() 114 hdr.class, hdr.tag); in pkcs5_get_params_pbes2() 117 pos = hdr.payload; in pkcs5_get_params_pbes2() 118 end = hdr.payload + hdr.length; in pkcs5_get_params_pbes2() 120 if (asn1_get_next(pos, end - pos, &hdr) < in pkcs5_get_params_pbes2() 280 struct asn1_hdr hdr; pkcs5_get_params() local [all...] |
| H A D | asn1.c | 25 static int asn1_valid_der_boolean(struct asn1_hdr *hdr) in asn1_valid_der_boolean() argument 28 if (hdr->length != 1) { in asn1_valid_der_boolean() 30 hdr->length); in asn1_valid_der_boolean() 34 if (hdr->payload[0] != 0 && hdr->payload[0] != 0xff) { in asn1_valid_der_boolean() 37 hdr->payload[0]); in asn1_valid_der_boolean() 45 static int asn1_valid_der(struct asn1_hdr *hdr) in asn1_valid_der() argument 47 if (hdr->class != ASN1_CLASS_UNIVERSAL) in asn1_valid_der() 49 if (hdr->tag == ASN1_TAG_BOOLEAN && !asn1_valid_der_boolean(hdr)) in asn1_valid_der() 55 asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) asn1_get_next() argument 176 struct asn1_hdr hdr; asn1_get_oid() local [all...] |
| H A D | pkcs1.c | 205 struct asn1_hdr hdr; in pkcs1_v15_sig_ver() local 234 if (asn1_get_next(decrypted, decrypted_len, &hdr) < 0 || in pkcs1_v15_sig_ver() 235 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs1_v15_sig_ver() 236 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs1_v15_sig_ver() 239 hdr.class, hdr.tag); in pkcs1_v15_sig_ver() 244 hdr.payload, hdr.length); in pkcs1_v15_sig_ver() 246 pos = hdr.payload; in pkcs1_v15_sig_ver() 247 end = pos + hdr in pkcs1_v15_sig_ver() [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | ac3_parser.c | 57 int ff_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr) in ff_ac3_parse_header() argument 61 memset(hdr, 0, sizeof(*hdr)); in ff_ac3_parse_header() 63 hdr->sync_word = get_bits(gbc, 16); in ff_ac3_parse_header() 64 if(hdr->sync_word != 0x0B77) in ff_ac3_parse_header() 68 hdr->bitstream_id = show_bits_long(gbc, 29) & 0x1F; in ff_ac3_parse_header() 69 if(hdr->bitstream_id > 16) in ff_ac3_parse_header() 72 hdr->num_blocks = 6; in ff_ac3_parse_header() 73 hdr->ac3_bit_rate_code = -1; in ff_ac3_parse_header() 76 hdr in ff_ac3_parse_header() 162 AC3HeaderInfo *hdr; avpriv_ac3_parse_header() local 185 AC3HeaderInfo hdr; av_ac3_parse_header() local 207 AC3HeaderInfo hdr; ac3_sync() local [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
| H A D | tlsv1_client_ocsp.c | 116 struct asn1_hdr hdr; in tls_process_ocsp_single_response() local 141 if (asn1_get_next(resp, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in tls_process_ocsp_single_response() 142 asn1_unexpected(&hdr, "OCSP: Expected SEQUENCE (CertID)"); in tls_process_ocsp_single_response() 145 pos = hdr.payload; in tls_process_ocsp_single_response() 146 end = hdr.payload + hdr.length; in tls_process_ocsp_single_response() 161 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response() 162 !asn1_is_octetstring(&hdr)) { in tls_process_ocsp_single_response() 163 asn1_unexpected(&hdr, in tls_process_ocsp_single_response() 316 struct asn1_hdr hdr; tls_process_ocsp_responses() local 348 struct asn1_hdr hdr; tls_process_basic_ocsp_response() local 651 struct asn1_hdr hdr; tls_process_ocsp_response() local [all...] |
| H A D | tlsv1_cred.c | 446 struct asn1_hdr hdr; in pkcs12_certbag() local 458 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs12_certbag() 459 asn1_unexpected(&hdr, "PKCS #12: Expected SEQUENCE (CertBag)"); in pkcs12_certbag() 463 pos = hdr.payload; in pkcs12_certbag() 464 end = hdr.payload + hdr.length; in pkcs12_certbag() 481 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in pkcs12_certbag() 482 !asn1_is_cs_tag(&hdr, in pkcs12_certbag() 517 struct asn1_hdr hdr; pkcs12_parse_attr_friendly_name() local 542 struct asn1_hdr hdr; pkcs12_parse_attr_local_key_id() local 568 struct asn1_hdr hdr; pkcs12_parse_attr() local 609 struct asn1_hdr hdr; pkcs12_safebag() local 682 struct asn1_hdr hdr; pkcs12_safecontents() local 722 struct asn1_hdr hdr; pkcs12_parse_content_data() local 741 struct asn1_hdr hdr; pkcs12_parse_content_enc_data() local 851 struct asn1_hdr hdr; pkcs12_parse_content() local 887 struct asn1_hdr hdr; pkcs12_parse() local 1074 struct asn1_hdr hdr; tlsv1_set_dhparams_der() local [all...] |
| H A D | asn1.c | 106 static int asn1_valid_der_boolean(struct asn1_hdr *hdr) in asn1_valid_der_boolean() argument 109 if (hdr->length != 1) { in asn1_valid_der_boolean() 111 hdr->length); in asn1_valid_der_boolean() 115 if (hdr->payload[0] != 0 && hdr->payload[0] != 0xff) { in asn1_valid_der_boolean() 118 hdr->payload[0]); in asn1_valid_der_boolean() 126 static int asn1_valid_der(struct asn1_hdr *hdr) in asn1_valid_der() argument 128 if (hdr->class != ASN1_CLASS_UNIVERSAL) in asn1_valid_der() 130 if (hdr->tag == ASN1_TAG_BOOLEAN && !asn1_valid_der_boolean(hdr)) in asn1_valid_der() 171 asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) asn1_get_next() argument 276 asn1_print_hdr(const struct asn1_hdr *hdr, const char *title) asn1_print_hdr() argument 283 asn1_unexpected(const struct asn1_hdr *hdr, const char *title) asn1_unexpected() argument 337 struct asn1_hdr hdr; asn1_get_oid() local 435 struct asn1_hdr hdr; asn1_get_integer() local 466 asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr, const u8 **next) asn1_get_sequence() argument 484 struct asn1_hdr hdr; asn1_get_alg_id() local [all...] |
| H A D | asn1.h | 62 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr); 63 void asn1_print_hdr(const struct asn1_hdr *hdr, const char *title); 64 void asn1_unexpected(const struct asn1_hdr *hdr, const char *title); 72 int asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr, 88 static inline bool asn1_is_oid(const struct asn1_hdr *hdr) in asn1_is_oid() argument 90 return hdr->class == ASN1_CLASS_UNIVERSAL && in asn1_is_oid() 91 hdr->tag == ASN1_TAG_OID; in asn1_is_oid() 94 static inline bool asn1_is_boolean(const struct asn1_hdr *hdr) in asn1_is_boolean() argument 96 return hdr->class == ASN1_CLASS_UNIVERSAL && in asn1_is_boolean() 97 hdr in asn1_is_boolean() 100 asn1_is_integer(const struct asn1_hdr *hdr) asn1_is_integer() argument 106 asn1_is_enumerated(const struct asn1_hdr *hdr) asn1_is_enumerated() argument 112 asn1_is_sequence(const struct asn1_hdr *hdr) asn1_is_sequence() argument 118 asn1_is_set(const struct asn1_hdr *hdr) asn1_is_set() argument 124 asn1_is_octetstring(const struct asn1_hdr *hdr) asn1_is_octetstring() argument 130 asn1_is_bitstring(const struct asn1_hdr *hdr) asn1_is_bitstring() argument 136 asn1_is_utctime(const struct asn1_hdr *hdr) asn1_is_utctime() argument 142 asn1_is_generalizedtime(const struct asn1_hdr *hdr) asn1_is_generalizedtime() argument 148 asn1_is_string_type(const struct asn1_hdr *hdr) asn1_is_string_type() argument 166 asn1_is_bmpstring(const struct asn1_hdr *hdr) asn1_is_bmpstring() argument 172 asn1_is_utf8string(const struct asn1_hdr *hdr) asn1_is_utf8string() argument 178 asn1_is_null(const struct asn1_hdr *hdr) asn1_is_null() argument 184 asn1_is_cs_tag(const struct asn1_hdr *hdr, unsigned int tag) asn1_is_cs_tag() argument [all...] |
| H A D | pkcs8.c | 21 struct asn1_hdr hdr; in pkcs8_key_import() local 30 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs8_key_import() 31 asn1_unexpected(&hdr, in pkcs8_key_import() 35 pos = hdr.payload; in pkcs8_key_import() 36 end = pos + hdr.length; in pkcs8_key_import() 39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_integer(&hdr)) { in pkcs8_key_import() 40 asn1_unexpected(&hdr, "PKCS #8: Expected INTEGER"); in pkcs8_key_import() 48 if (bignum_set_unsigned_bin(zero, hdr in pkcs8_key_import() 113 struct asn1_hdr hdr; pkcs8_enc_key_import() local [all...] |
| H A D | x509v3.c | 185 struct asn1_hdr hdr; in x509_parse_algorithm_identifier() local 195 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_algorithm_identifier() 196 asn1_unexpected(&hdr, in x509_parse_algorithm_identifier() 200 if (hdr.length > buf + len - hdr.payload) in x509_parse_algorithm_identifier() 202 pos = hdr.payload; in x509_parse_algorithm_identifier() 203 end = pos + hdr.length; in x509_parse_algorithm_identifier() 220 struct asn1_hdr hdr; in x509_parse_public_key() local 233 if (asn1_get_next(pos, end - pos, &hdr) < in x509_parse_public_key() 288 struct asn1_hdr hdr; x509_parse_name() local 689 struct asn1_hdr hdr; x509_parse_validity() local 768 struct asn1_hdr hdr; x509_parse_ext_key_usage() local 801 struct asn1_hdr hdr; x509_parse_ext_basic_constraints() local 974 struct asn1_hdr hdr; x509_parse_ext_alt_name() local 1052 struct asn1_hdr hdr; x509_parse_ext_subject_alt_name() local 1076 struct asn1_hdr hdr; x509_parse_ext_issuer_alt_name() local 1149 struct asn1_hdr hdr; x509_parse_ext_certificate_policies() local 1273 struct asn1_hdr hdr; x509_parse_ext_ext_key_usage() local 1359 struct asn1_hdr hdr; x509_parse_extension() local 1433 struct asn1_hdr hdr; x509_parse_extensions() local 1459 struct asn1_hdr hdr; x509_parse_tbs_certificate() local 1729 struct asn1_hdr hdr; x509_certificate_parse() local 1846 struct asn1_hdr hdr; x509_check_signature() local [all...] |
| H A D | pkcs5.c | 93 struct asn1_hdr hdr; in pkcs5_get_params_pbes2() local 109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2() 110 !asn1_is_sequence(&hdr)) { in pkcs5_get_params_pbes2() 111 asn1_unexpected(&hdr, in pkcs5_get_params_pbes2() 115 pos = hdr.payload; in pkcs5_get_params_pbes2() 116 end = hdr.payload + hdr.length; in pkcs5_get_params_pbes2() 118 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2() 119 !asn1_is_sequence(&hdr)) { in pkcs5_get_params_pbes2() 120 asn1_unexpected(&hdr, in pkcs5_get_params_pbes2() 264 struct asn1_hdr hdr; pkcs5_get_params() local [all...] |
| /third_party/mesa3d/src/util/ |
| H A D | u_debug_memory.c | 105 data_from_header(struct debug_memory_header *hdr) in data_from_header() argument 107 if (hdr) in data_from_header() 108 return (void *)((char *)hdr + sizeof(struct debug_memory_header)); in data_from_header() 114 footer_from_header(struct debug_memory_header *hdr) in footer_from_header() argument 116 if (hdr) in footer_from_header() 117 return (struct debug_memory_footer *)((char *)hdr + sizeof(struct debug_memory_header) + hdr->size); in footer_from_header() 127 struct debug_memory_header *hdr; in debug_malloc() local 130 hdr = os_malloc(sizeof(*hdr) in debug_malloc() 167 struct debug_memory_header *hdr; debug_free() local 309 struct debug_memory_header *hdr; debug_memory_end() local 360 struct debug_memory_header *hdr; debug_memory_tag() local 381 struct debug_memory_header *hdr; debug_memory_check_block() local 416 struct debug_memory_header *hdr; debug_memory_check() local [all...] |
| /third_party/node/deps/openssl/openssl/crypto/cmp/ |
| H A D | cmp_hdr.c | 23 int ossl_cmp_hdr_set_pvno(OSSL_CMP_PKIHEADER *hdr, int pvno) in ossl_cmp_hdr_set_pvno() argument 25 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set_pvno() 27 return ASN1_INTEGER_set(hdr->pvno, pvno); in ossl_cmp_hdr_set_pvno() 30 int ossl_cmp_hdr_get_pvno(const OSSL_CMP_PKIHEADER *hdr) in ossl_cmp_hdr_get_pvno() argument 34 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_get_pvno() 36 if (!ASN1_INTEGER_get_int64(&pvno, hdr->pvno) || pvno < 0 || pvno > INT_MAX) in ossl_cmp_hdr_get_pvno() 41 int ossl_cmp_hdr_get_protection_nid(const OSSL_CMP_PKIHEADER *hdr) in ossl_cmp_hdr_get_protection_nid() argument 43 if (!ossl_assert(hdr != NULL) in ossl_cmp_hdr_get_protection_nid() 44 || hdr->protectionAlg == NULL) in ossl_cmp_hdr_get_protection_nid() 46 return OBJ_obj2nid(hdr in ossl_cmp_hdr_get_protection_nid() 49 OSSL_CMP_HDR_get0_transactionID(const OSSL_CMP_PKIHEADER *hdr) OSSL_CMP_HDR_get0_transactionID() argument 59 ossl_cmp_hdr_get0_senderNonce(const OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_get0_senderNonce() argument 66 OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr) OSSL_CMP_HDR_get0_recipNonce() argument 115 ossl_cmp_hdr_set1_sender(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) ossl_cmp_hdr_set1_sender() argument 122 ossl_cmp_hdr_set1_recipient(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) ossl_cmp_hdr_set1_recipient() argument 129 ossl_cmp_hdr_update_messageTime(OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_update_messageTime() argument 153 ossl_cmp_hdr_set1_senderKID(OSSL_CMP_PKIHEADER *hdr, const ASN1_OCTET_STRING *senderKID) ossl_cmp_hdr_set1_senderKID() argument 162 ossl_cmp_hdr_push0_freeText(OSSL_CMP_PKIHEADER *hdr, ASN1_UTF8STRING *text) ossl_cmp_hdr_push0_freeText() argument 174 ossl_cmp_hdr_push1_freeText(OSSL_CMP_PKIHEADER *hdr, ASN1_UTF8STRING *text) ossl_cmp_hdr_push1_freeText() argument 188 ossl_cmp_hdr_generalInfo_push0_item(OSSL_CMP_PKIHEADER *hdr, OSSL_CMP_ITAV *itav) ossl_cmp_hdr_generalInfo_push0_item() argument 196 ossl_cmp_hdr_generalInfo_push1_items(OSSL_CMP_PKIHEADER *hdr, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_hdr_generalInfo_push1_items() argument 218 ossl_cmp_hdr_set_implicitConfirm(OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_set_implicitConfirm() argument 242 ossl_cmp_hdr_has_implicitConfirm(const OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_has_implicitConfirm() argument 271 ossl_cmp_hdr_set_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_set_transactionID() argument 292 ossl_cmp_hdr_init(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_init() argument [all...] |
| /third_party/openssl/crypto/cmp/ |
| H A D | cmp_hdr.c | 23 int ossl_cmp_hdr_set_pvno(OSSL_CMP_PKIHEADER *hdr, int pvno) in ossl_cmp_hdr_set_pvno() argument 25 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set_pvno() 27 return ASN1_INTEGER_set(hdr->pvno, pvno); in ossl_cmp_hdr_set_pvno() 30 int ossl_cmp_hdr_get_pvno(const OSSL_CMP_PKIHEADER *hdr) in ossl_cmp_hdr_get_pvno() argument 34 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_get_pvno() 36 if (!ASN1_INTEGER_get_int64(&pvno, hdr->pvno) || pvno < 0 || pvno > INT_MAX) in ossl_cmp_hdr_get_pvno() 41 int ossl_cmp_hdr_get_protection_nid(const OSSL_CMP_PKIHEADER *hdr) in ossl_cmp_hdr_get_protection_nid() argument 43 if (!ossl_assert(hdr != NULL) in ossl_cmp_hdr_get_protection_nid() 44 || hdr->protectionAlg == NULL) in ossl_cmp_hdr_get_protection_nid() 46 return OBJ_obj2nid(hdr in ossl_cmp_hdr_get_protection_nid() 49 OSSL_CMP_HDR_get0_transactionID(const OSSL_CMP_PKIHEADER *hdr) OSSL_CMP_HDR_get0_transactionID() argument 59 ossl_cmp_hdr_get0_senderNonce(const OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_get0_senderNonce() argument 66 OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr) OSSL_CMP_HDR_get0_recipNonce() argument 115 ossl_cmp_hdr_set1_sender(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) ossl_cmp_hdr_set1_sender() argument 122 ossl_cmp_hdr_set1_recipient(OSSL_CMP_PKIHEADER *hdr, const X509_NAME *nm) ossl_cmp_hdr_set1_recipient() argument 129 ossl_cmp_hdr_update_messageTime(OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_update_messageTime() argument 153 ossl_cmp_hdr_set1_senderKID(OSSL_CMP_PKIHEADER *hdr, const ASN1_OCTET_STRING *senderKID) ossl_cmp_hdr_set1_senderKID() argument 162 ossl_cmp_hdr_push0_freeText(OSSL_CMP_PKIHEADER *hdr, ASN1_UTF8STRING *text) ossl_cmp_hdr_push0_freeText() argument 174 ossl_cmp_hdr_push1_freeText(OSSL_CMP_PKIHEADER *hdr, ASN1_UTF8STRING *text) ossl_cmp_hdr_push1_freeText() argument 188 ossl_cmp_hdr_generalInfo_push0_item(OSSL_CMP_PKIHEADER *hdr, OSSL_CMP_ITAV *itav) ossl_cmp_hdr_generalInfo_push0_item() argument 196 ossl_cmp_hdr_generalInfo_push1_items(OSSL_CMP_PKIHEADER *hdr, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_hdr_generalInfo_push1_items() argument 218 ossl_cmp_hdr_set_implicitConfirm(OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_set_implicitConfirm() argument 242 ossl_cmp_hdr_has_implicitConfirm(const OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_has_implicitConfirm() argument 271 ossl_cmp_hdr_set_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_set_transactionID() argument 292 ossl_cmp_hdr_init(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_init() argument [all...] |
| /third_party/lwip/src/include/lwip/prot/ |
| H A D | ip6.h | 99 #define IP6H_V(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 28) & 0x0f) 100 #define IP6H_TC(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 20) & 0xff) 101 #define IP6H_FL(hdr) (lwip_ntohl((hdr)->_v_tc_fl) & 0x000fffff) 102 #define IP6H_PLEN(hdr) (lwip_ntohs((hdr)->_plen)) 103 #define IP6H_NEXTH(hdr) ((hdr) [all...] |
| H A D | ip4.h | 106 #define IPH_V(hdr) ((hdr)->_v_hl >> 4) 107 #define IPH_HL(hdr) ((hdr)->_v_hl & 0x0f) 108 #define IPH_HL_BYTES(hdr) ((u8_t)(IPH_HL(hdr) * 4)) 109 #define IPH_TOS(hdr) ((hdr)->_tos) 110 #define IPH_LEN(hdr) ((hdr) [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
| H A D | dpp_backup.c | 538 struct asn1_hdr hdr; in dpp_parse_recipient_infos() local 559 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in dpp_parse_recipient_infos() 560 !asn1_is_cs_tag(&hdr, 3)) { in dpp_parse_recipient_infos() 561 asn1_unexpected(&hdr, "DPP: Expected CHOICE [3] (pwri)"); in dpp_parse_recipient_infos() 565 hdr.payload, hdr.length); in dpp_parse_recipient_infos() 566 pos = hdr.payload; in dpp_parse_recipient_infos() 567 end = pos + hdr.length; in dpp_parse_recipient_infos() 580 if (asn1_get_sequence(pos, end - pos, &hdr, in dpp_parse_recipient_infos() 731 struct asn1_hdr hdr; dpp_parse_encrypted_content_info() local 802 struct asn1_hdr hdr; dpp_parse_enveloped_data() local 859 struct asn1_hdr hdr; dpp_parse_one_asymmetric_key() local 1101 struct asn1_hdr hdr; dpp_parse_dpp_asymmetric_key_package() local [all...] |
| /third_party/alsa-lib/src/topology/ |
| H A D | decoder.c | 22 struct snd_soc_tplg_hdr *hdr, in tplg_decode_template() 27 type = tplg_get_type(hdr->type); in tplg_decode_template() 29 hdr->type, type); in tplg_decode_template() 35 t->index = hdr->index; in tplg_decode_template() 36 t->version = hdr->version; in tplg_decode_template() 37 t->vendor_type = hdr->vendor_type; in tplg_decode_template() 39 hdr->index, hdr->version, hdr->vendor_type); in tplg_decode_template() 45 struct snd_soc_tplg_hdr *hdr; in snd_tplg_decode() local 20 tplg_decode_template(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, snd_tplg_obj_template_t *t) tplg_decode_template() argument [all...] |
| /third_party/pulseaudio/src/modules/rtp/ |
| H A D | headerlist.c | 44 static void header_free(struct header *hdr) { in header_free() argument 45 pa_assert(hdr); in header_free() 47 pa_xfree(hdr->key); in header_free() 48 pa_xfree(hdr->value); in header_free() 49 pa_xfree(hdr); in header_free() 61 struct header *hdr; in pa_headerlist_puts() local 67 if (!(hdr = pa_hashmap_get(MAKE_HASHMAP(p), key))) { in pa_headerlist_puts() 68 hdr = pa_xnew(struct header, 1); in pa_headerlist_puts() 69 hdr->key = pa_xstrdup(key); in pa_headerlist_puts() 72 pa_xfree(hdr in pa_headerlist_puts() 78 pa_hashmap_put(MAKE_HASHMAP(p), hdr->key, hdr); pa_headerlist_puts() local 84 struct header *hdr; pa_headerlist_putsappend() local 103 pa_hashmap_put(MAKE_HASHMAP(p), hdr->key, hdr); pa_headerlist_putsappend() local 109 struct header *hdr; pa_headerlist_gets() local 137 struct header *hdr; pa_headerlist_iterate() local [all...] |
| /third_party/mbedtls/library/ |
| H A D | memory_buffer_alloc.c | 83 static void debug_header(memory_header *hdr) in debug_header() argument 91 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header() 92 hdr->alloc, hdr->size); in debug_header() 94 (size_t) hdr->prev_free, (size_t) hdr->next_free); in debug_header() 98 for (i = 0; i < hdr->trace_count; i++) { in debug_header() 99 mbedtls_fprintf(stderr, "%s\n", hdr in debug_header() 125 verify_header(memory_header *hdr) verify_header() argument 374 memory_header *hdr, *old = NULL; buffer_alloc_free() local [all...] |
| /third_party/toybox/toys/posix/ |
| H A D | tar.c | 78 } hdr; 179 struct tar_hdr hdr; in add_to_tar() local 226 memset(&hdr, 0, sizeof(hdr)); in add_to_tar() 227 strncpy(hdr.name, hname, sizeof(hdr.name)); in add_to_tar() 228 ITOO(hdr.mode, st->st_mode &07777); in add_to_tar() 229 ITOO(hdr.uid, st->st_uid); in add_to_tar() 230 ITOO(hdr.gid, st->st_gid); in add_to_tar() 231 ITOO(hdr in add_to_tar() 835 char *hdr = 0; tar_main() local [all...] |