/third_party/mbedtls/tests/suites/ |
D | test_suite_pkcs5.data | 111 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"301B06092A864886F70D01050C300… 119 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"31":"":"":MBEDTLS_ERR_PKCS5_I… 123 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"3001":"":"":MBEDTLS_ERR_PKCS5… 127 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"300B06092A864886F70D01050D":"… 131 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"300D06092A864886F70D01050C310… 135 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"300D06092A864886F70D01050C300… 139 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"300E06092A864886F70D01050C300… 143 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"300E06092A864886F70D01050C300… 147 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"301906092A864886F70D01050C300… 151 mbedtls_pkcs5_pbes2:MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:"301906092A864886F70D01050C300… [all …]
|
D | test_suite_x509parse.data | 2640 x509_parse_rsassa_pss_params:"":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:MBEDTLS_MD_SHA1:MB… 2646 x509_parse_rsassa_pss_params:"a400":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE:MBEDTLS_MD_SHA… 2650 x509_parse_rsassa_pss_params:"a00d300b0609608648016503040201":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_AS… 2654 x509_parse_rsassa_pss_params:"a009300706052b0e03021a":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUE… 2657 x509_parse_rsassa_pss_params:"a00a300706052b0e03021a":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUE… 2661 x509_parse_rsassa_pss_params:"a00a300706052b0e03021a00":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQ… 2664 x509_parse_rsassa_pss_params:"a00f300d06096086480165030402013000":MBEDTLS_ASN1_CONSTRUCTED | MBEDTL… 2667 x509_parse_rsassa_pss_params:"a00d300b06096086480165030402ff":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_AS… 2671 …rams:"a11a301806092a864886f70d010108300b0609608648016503040201":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS… 2675 …a_pss_params:"a116301406092a864886f70d010108300706052b0e03021a":MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS… [all …]
|
D | test_suite_x509write.function | 117 MBEDTLS_ASN1_CONSTRUCTED | 559 if (tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { 652 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE) == 0);
|
D | test_suite_x509parse.function | 324 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE); 349 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 376 MBEDTLS_ASN1_CONSTRUCTED | 903 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE), 0);
|
/third_party/mbedtls/library/ |
D | pkcs7.c | 57 ret = mbedtls_asn1_get_tag(p, end, len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_next_content_len() 104 ret = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_content_info_type() 152 ret = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_digest_algorithm_set() 190 ret = mbedtls_asn1_get_tag(p, end, &len1, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_certificates() 201 ret = mbedtls_asn1_get_tag(p, end_set, &len2, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_certificates() 297 asn1_ret = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_signer_info() 311 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE); in pkcs7_get_signer_info() 321 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE); in pkcs7_get_signer_info() 398 ret = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_signers_info_set() 473 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_signed_data() [all …]
|
D | x509write_csr.c | 166 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_csr_set_subject_alternative_name() 266 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)); in x509write_csr_der_internal() 272 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SET)); in x509write_csr_der_internal() 283 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)); in x509write_csr_der_internal() 290 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_CONTEXT_SPECIFIC)); in x509write_csr_der_internal() 312 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)); in x509write_csr_der_internal() 381 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)); in x509write_csr_der_internal()
|
D | x509_csr.c | 87 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_csr_parse_extensions() 182 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_csr_parse_attributes() 200 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SET)) != 0) { in x509_csr_parse_attributes() 205 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != in x509_csr_parse_attributes() 276 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_x509_csr_parse_der() 293 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_x509_csr_parse_der() 322 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_x509_csr_parse_der() 353 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_CONTEXT_SPECIFIC)) != in mbedtls_x509_csr_parse_der()
|
D | x509write_crt.c | 189 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_set_basic_constraints() 251 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_set_key_identifier() 359 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)); in mbedtls_x509write_crt_set_ext_key_usage() 474 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_der() 480 MBEDTLS_ASN1_CONSTRUCTED | 3)); in mbedtls_x509write_crt_der() 518 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_der() 575 MBEDTLS_ASN1_CONSTRUCTED | 0)); in mbedtls_x509write_crt_der() 580 mbedtls_asn1_write_tag(&c, buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_der() 641 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_der()
|
D | x509_crl.c | 120 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_crl_ext() 191 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_crl_entry_ext() 208 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_crl_entry_ext() 239 MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED)) != 0) { in x509_get_entries() 255 MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED)) != 0) { in x509_get_entries() 359 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_x509_crl_parse_der() 376 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_x509_crl_parse_der() 416 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_x509_crl_parse_der()
|
D | x509.c | 192 if (alg->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in x509_get_hash_alg() 265 if (params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in mbedtls_x509_get_rsassa_pss_params() 281 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509_get_rsassa_pss_params() 310 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509_get_rsassa_pss_params() 346 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509_get_rsassa_pss_params() 370 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509_get_rsassa_pss_params() 420 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_attr_type_value() 516 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SET)) != 0) { in mbedtls_x509_get_name() 810 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | tag); in mbedtls_x509_get_ext() 815 ext->tag = MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | tag; in mbedtls_x509_get_ext() [all …]
|
D | pkwrite.c | 94 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(p, start, MBEDTLS_ASN1_CONSTRUCTED | in pk_write_rsa_pubkey() 303 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(&c, buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_pk_write_pubkey_der() 403 buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_pk_write_key_der() 438 MBEDTLS_ASN1_CONSTRUCTED | 1)); in mbedtls_pk_write_key_der() 447 MBEDTLS_ASN1_CONSTRUCTED | 0)); in mbedtls_pk_write_key_der() 457 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(&c, buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_pk_write_key_der()
|
D | pkparse.c | 181 && params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE) in pk_get_ecparams() 248 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in pk_group_from_specified() 295 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in pk_group_from_specified() 531 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in pk_get_rsapubkey() 628 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_pk_parse_subpubkey() 745 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in pk_parse_key_pkcs1_der() 898 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in pk_parse_key_sec1_der() 929 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in pk_parse_key_sec1_der() 948 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in pk_parse_key_sec1_der() 1042 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in pk_parse_key_pkcs8_unencrypted_der() [all …]
|
D | x509_create.c | 253 MBEDTLS_ASN1_CONSTRUCTED | in x509_write_name() 258 MBEDTLS_ASN1_CONSTRUCTED | in x509_write_name() 277 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(p, start, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509_write_names() 337 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(p, start, MBEDTLS_ASN1_CONSTRUCTED | in x509_write_extension()
|
D | x509_crt.c | 410 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in x509_get_version() 448 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_dates() 486 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | in x509_get_uid() 518 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_basic_constraints() 649 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE); in x509_get_certificate_policies() 675 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_certificate_policies() 730 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != in x509_get_certificate_policies() 792 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_get_crt_ext() 990 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_crt_parse_der_core() 1020 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in x509_crt_parse_der_core() [all …]
|
D | asn1parse.c | 272 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_asn1_traverse_sequence_of() 397 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_asn1_get_alg()
|
D | pkcs5.c | 66 if (params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in pkcs5_parse_pbkdf2_params() 146 if (pbe_params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in mbedtls_pkcs5_pbes2()
|
D | ecdsa.c | 635 MBEDTLS_ASN1_CONSTRUCTED | in ecdsa_signature_to_asn1() 740 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_ecdsa_read_signature_restartable()
|
D | pkcs12.c | 68 if (params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in pkcs12_parse_pbe_params()
|
D | asn1write.c | 211 MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_asn1_write_algorithm_identifier()
|
D | dhm.c | 540 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in mbedtls_dhm_parse_dhm()
|
D | pk_wrap.c | 703 MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != 0) { in extract_ecdsa_sig() 898 MBEDTLS_ASN1_CONSTRUCTED | in pk_ecdsa_sig_asn1_from_psa()
|
D | rsa.c | 1908 *p++ = MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED; in rsa_rsassa_pkcs1_v15_encode() 1910 *p++ = MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED; in rsa_rsassa_pkcs1_v15_encode()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-extensions.c | 291 r = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in lws_x509_get_general_names() 313 (tag & (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) != in lws_x509_get_general_names() 314 (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) in lws_x509_get_general_names() 376 r = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in x509_get_akid() 395 MBEDTLS_ASN1_CONSTRUCTED | 1 ); in x509_get_akid() 401 MBEDTLS_ASN1_CONSTRUCTED | 4); in x509_get_akid() 441 int r = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in lws_x509_get_crt_ext() 452 MBEDTLS_ASN1_CONSTRUCTED | in lws_x509_get_crt_ext()
|
/third_party/mbedtls/include/mbedtls/ |
D | asn1.h | 94 #define MBEDTLS_ASN1_CONSTRUCTED 0x20 macro
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 693 MBEDTLS_ASN1_CONSTRUCTED), 0); in mbedtls_test_psa_exported_key_sanity_check() 750 MBEDTLS_ASN1_CONSTRUCTED), in mbedtls_test_psa_exported_key_sanity_check()
|