/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | x509.h | 216 typedef mbedtls_asn1_buf mbedtls_x509_buf; typedef 238 mbedtls_x509_buf keyIdentifier; 240 mbedtls_x509_buf authorityCertSerialNumber; 241 mbedtls_x509_buf raw; 267 mbedtls_x509_buf type_id; /**< The type id. */ 276 mbedtls_x509_buf oid; /**< The object identifier. */ 277 mbedtls_x509_buf val; /**< The named value. */ 297 …mbedtls_x509_buf unstructured_name; /**< The buffer for the unstructured types. rfc822Name, dnsNam… 355 int mbedtls_x509_serial_gets(char *buf, size_t size, const mbedtls_x509_buf *serial); 442 int mbedtls_x509_parse_subject_alt_name(const mbedtls_x509_buf *san_buf, [all …]
|
H A D | x509_crl.h | 41 mbedtls_x509_buf raw; 43 mbedtls_x509_buf serial; 51 mbedtls_x509_buf entry_ext; 65 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ 66 …mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed… 69 mbedtls_x509_buf sig_oid; /**< CRL signature type identifier */ 71 mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). */ 80 mbedtls_x509_buf crl_ext; 82 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_oid2); 83 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
|
H A D | x509_crt.h | 44 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ 45 …mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Si… 48 mbedtls_x509_buf serial; /**< Unique id for certificate issued by a specific CA. */ 49 mbedtls_x509_buf sig_oid; /**< Signature algorithm, e.g. sha1RSA */ 51 … mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). Used for quick comparison. */ 52 … mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). Used for quick comparison. */ 60 mbedtls_x509_buf pk_raw; 63 mbedtls_x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */ 64 mbedtls_x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */ 65 mbedtls_x509_buf v3_ext; /**< Optional X.509 v3 extensions. */ [all …]
|
H A D | pkcs7.h | 111 mbedtls_x509_buf MBEDTLS_PRIVATE(serial); 113 mbedtls_x509_buf MBEDTLS_PRIVATE(issuer_raw); 114 mbedtls_x509_buf MBEDTLS_PRIVATE(alg_identifier); 115 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_alg_identifier); 116 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
|
H A D | x509_csr.h | 39 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */ 40 mbedtls_x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */ 44 mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). */ 55 mbedtls_x509_buf sig_oid; 56 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | x509_crl.h | 41 mbedtls_x509_buf raw; 43 mbedtls_x509_buf serial; 51 mbedtls_x509_buf entry_ext; 65 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ 66 …mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed… 69 mbedtls_x509_buf sig_oid; /**< CRL signature type identifier */ 71 mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). */ 80 mbedtls_x509_buf crl_ext; 82 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_oid2); 83 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
|
H A D | x509_crt.h | 44 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ 45 …mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Si… 48 mbedtls_x509_buf serial; /**< Unique id for certificate issued by a specific CA. */ 49 mbedtls_x509_buf sig_oid; /**< Signature algorithm, e.g. sha1RSA */ 51 … mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). Used for quick comparison. */ 52 … mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). Used for quick comparison. */ 60 mbedtls_x509_buf pk_raw; 63 mbedtls_x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */ 64 mbedtls_x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */ 65 mbedtls_x509_buf v3_ext; /**< Optional X.509 v3 extensions. */ [all …]
|
H A D | x509.h | 216 typedef mbedtls_asn1_buf mbedtls_x509_buf; typedef 238 mbedtls_x509_buf keyIdentifier; 240 mbedtls_x509_buf authorityCertSerialNumber; 241 mbedtls_x509_buf raw; 267 mbedtls_x509_buf type_id; /**< The type id. */ 276 mbedtls_x509_buf oid; /**< The object identifier. */ 277 mbedtls_x509_buf val; /**< The named value. */ 297 …mbedtls_x509_buf unstructured_name; /**< The buffer for the unstructured types. rfc822Name, dnsNam… 373 int mbedtls_x509_serial_gets(char *buf, size_t size, const mbedtls_x509_buf *serial); 460 int mbedtls_x509_parse_subject_alt_name(const mbedtls_x509_buf *san_buf,
|
H A D | x509_csr.h | 39 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */ 40 mbedtls_x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */ 44 mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). */ 55 mbedtls_x509_buf sig_oid; 56 mbedtls_x509_buf MBEDTLS_PRIVATE(sig); 125 mbedtls_x509_buf const *oid,
|
H A D | pkcs7.h | 110 mbedtls_x509_buf MBEDTLS_PRIVATE(serial); 112 mbedtls_x509_buf MBEDTLS_PRIVATE(issuer_raw); 113 mbedtls_x509_buf MBEDTLS_PRIVATE(alg_identifier); 114 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_alg_identifier); 115 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | x509_internal.h | 27 mbedtls_x509_buf *alg); 29 mbedtls_x509_buf *alg, mbedtls_x509_buf *params); 31 int mbedtls_x509_get_rsassa_pss_params(const mbedtls_x509_buf *params, 35 int mbedtls_x509_get_sig(unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig); 36 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params, 42 mbedtls_x509_buf *serial); 44 mbedtls_x509_buf *ext, int tag); 46 int mbedtls_x509_sig_alg_gets(char *buf, size_t size, const mbedtls_x509_buf *sig_oid,
|
H A D | x509.c | 64 mbedtls_x509_buf *serial) in mbedtls_x509_get_serial() 98 mbedtls_x509_buf *alg) in mbedtls_x509_get_alg_null() 113 mbedtls_x509_buf *alg, mbedtls_x509_buf *params) in mbedtls_x509_get_alg() 179 static int x509_get_hash_alg(const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg) in x509_get_hash_alg() 184 mbedtls_x509_buf md_oid; in x509_get_hash_alg() 245 int mbedtls_x509_get_rsassa_pss_params(const mbedtls_x509_buf *params, in mbedtls_x509_get_rsassa_pss_params() 253 mbedtls_x509_buf alg_id, alg_params; in mbedtls_x509_get_rsassa_pss_params() 412 mbedtls_x509_buf *oid; in x509_get_attr_type_value() 413 mbedtls_x509_buf *val; in x509_get_attr_type_value() 689 int mbedtls_x509_get_sig(unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig) in mbedtls_x509_get_sig() [all …]
|
H A D | x509_crl.c | 78 mbedtls_x509_buf *ext) in x509_get_crl_ext() 162 mbedtls_x509_buf *ext) in x509_get_crl_entry_ext() 289 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in mbedtls_x509_crl_parse_der() 299 memset(&sig_params1, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der() 300 memset(&sig_params2, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der() 301 memset(&sig_oid2, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der()
|
H A D | x509_crt.c | 274 static int x509_check_wildcard(const char *cn, const mbedtls_x509_buf *name) in x509_check_wildcard() 309 static int x509_string_cmp(const mbedtls_x509_buf *a, const mbedtls_x509_buf *b) in x509_string_cmp() 466 mbedtls_x509_buf *uid, int n) in x509_get_uid() 587 mbedtls_x509_buf *subject_key_id) in x509_get_subject_key_id() 767 mbedtls_x509_buf policy_oid; in x509_get_certificate_policies() 886 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_get_crt_ext() 1081 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in x509_crt_parse_der_core() 1083 memset(&sig_params1, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core() 1084 memset(&sig_params2, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core() 1085 memset(&sig_oid2, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core() [all …]
|
H A D | x509_csr.c | 74 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_csr_parse_extensions() 210 mbedtls_x509_buf attr_oid = { 0, 0, NULL }; in x509_csr_parse_attributes() 273 mbedtls_x509_buf sig_params; in mbedtls_x509_csr_parse_der_internal() 275 memset(&sig_params, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_csr_parse_der_internal()
|
H A D | pkcs7.c | 119 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm() 135 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm_set() 279 mbedtls_x509_buf *alg) in pkcs7_get_signer_info() 379 mbedtls_x509_buf *digest_alg) in pkcs7_get_signers_info_set()
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | x509.c | 64 mbedtls_x509_buf *serial) in mbedtls_x509_get_serial() 98 mbedtls_x509_buf *alg) in mbedtls_x509_get_alg_null() 113 mbedtls_x509_buf *alg, mbedtls_x509_buf *params) in mbedtls_x509_get_alg() 179 static int x509_get_hash_alg(const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg) in x509_get_hash_alg() 184 mbedtls_x509_buf md_oid; in x509_get_hash_alg() 245 int mbedtls_x509_get_rsassa_pss_params(const mbedtls_x509_buf *params, in mbedtls_x509_get_rsassa_pss_params() 253 mbedtls_x509_buf alg_id, alg_params; in mbedtls_x509_get_rsassa_pss_params() 412 mbedtls_x509_buf *oid; in x509_get_attr_type_value() 413 mbedtls_x509_buf *val; in x509_get_attr_type_value() 689 int mbedtls_x509_get_sig(unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig) in mbedtls_x509_get_sig() [all …]
|
H A D | x509_crl.c | 77 mbedtls_x509_buf *ext) in x509_get_crl_ext() 161 mbedtls_x509_buf *ext) in x509_get_crl_entry_ext() 288 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in mbedtls_x509_crl_parse_der() 298 memset(&sig_params1, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der() 299 memset(&sig_params2, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der() 300 memset(&sig_oid2, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der()
|
H A D | x509_crt.c | 273 static int x509_check_wildcard(const char *cn, const mbedtls_x509_buf *name) in x509_check_wildcard() 308 static int x509_string_cmp(const mbedtls_x509_buf *a, const mbedtls_x509_buf *b) in x509_string_cmp() 465 mbedtls_x509_buf *uid, int n) in x509_get_uid() 586 mbedtls_x509_buf *subject_key_id) in x509_get_subject_key_id() 766 mbedtls_x509_buf policy_oid; in x509_get_certificate_policies() 885 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_get_crt_ext() 1080 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in x509_crt_parse_der_core() 1082 memset(&sig_params1, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core() 1083 memset(&sig_params2, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core() 1084 memset(&sig_oid2, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core() [all …]
|
H A D | x509_csr.c | 70 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_csr_parse_extensions() 167 mbedtls_x509_buf attr_oid = { 0, 0, NULL }; in x509_csr_parse_attributes() 228 mbedtls_x509_buf sig_params; in mbedtls_x509_csr_parse_der() 230 memset(&sig_params, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_csr_parse_der()
|
H A D | pkcs7.c | 119 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm() 135 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm_set() 279 mbedtls_x509_buf *alg) in pkcs7_get_signer_info() 379 mbedtls_x509_buf *digest_alg) in pkcs7_get_signers_info_set()
|
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/ |
H A D | mbedtls-extensions.c | 138 mbedtls_x509_buf type_id; /**< The type id. */ 149 mbedtls_x509_buf oid; /**< The object identifier. */ 150 mbedtls_x509_buf val; /**< The named value. */ 164 …mbedtls_x509_buf unstructured_name; /**< The buffer for the un constructed types. Only dnsName c… 171 x509_get_skid(uint8_t **p, const uint8_t *end, mbedtls_x509_buf *skid) in x509_get_skid() 217 lws_mbedtls_x509_parse_general_name(const mbedtls_x509_buf *name_buf, in lws_mbedtls_x509_parse_general_name() 434 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid, in lws_x509_get_crt_ext() 447 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in lws_x509_get_crt_ext()
|
H A D | private-lib-tls-mbedtls.h | 36 mbedtls_x509_buf keyIdentifier; 38 mbedtls_x509_buf authorityCertSerialNumber; 39 mbedtls_x509_buf raw; 58 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid,
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_x509parse.function | 320 int parse_crt_ext_cb(void *p_ctx, mbedtls_x509_crt const *crt, mbedtls_x509_buf const *oid, 325 mbedtls_x509_buf *new_oid = (mbedtls_x509_buf *) p_ctx; 420 int parse_csr_ext_accept_cb(void *p_ctx, mbedtls_x509_csr const *csr, mbedtls_x509_buf const *oid, 433 int parse_csr_ext_reject_cb(void *p_ctx, mbedtls_x509_csr const *csr, mbedtls_x509_buf const *oid, 1188 mbedtls_x509_buf oid; 1493 mbedtls_x509_buf oid; 1522 mbedtls_x509_buf oid; 1623 mbedtls_x509_buf buf;
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/auth/mbedtls/ |
D | mbedtls_crypto.c | 75 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, 76 const mbedtls_x509_buf *sig_params,
|