Home
last modified time | relevance | path

Searched refs:mbedtls_x509_buf (Results 1 – 13 of 13) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dx509_crl.h54 mbedtls_x509_buf raw;
56 mbedtls_x509_buf serial;
64 mbedtls_x509_buf entry_ext;
79 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */
80mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed…
83 mbedtls_x509_buf sig_oid; /**< CRL signature type identifier */
85 mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). */
94 mbedtls_x509_buf crl_ext;
96 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_oid2);
97 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
Dx509.h228 typedef mbedtls_asn1_buf mbedtls_x509_buf; typedef
281 int mbedtls_x509_serial_gets( char *buf, size_t size, const mbedtls_x509_buf *serial );
318 mbedtls_x509_buf *alg );
320 mbedtls_x509_buf *alg, mbedtls_x509_buf *params );
322 int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params,
326 int mbedtls_x509_get_sig( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig );
327 int mbedtls_x509_get_sig_alg( const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params,
333 mbedtls_x509_buf *serial );
335 mbedtls_x509_buf *ext, int tag );
337 int mbedtls_x509_sig_alg_gets( char *buf, size_t size, const mbedtls_x509_buf *sig_oid,
Dx509_crt.h57 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */
58mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Si…
61 mbedtls_x509_buf serial; /**< Unique id for certificate issued by a specific CA. */
62 mbedtls_x509_buf sig_oid; /**< Signature algorithm, e.g. sha1RSA */
64mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). Used for quick comparison. */
65mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). Used for quick comparison. */
73 mbedtls_x509_buf pk_raw;
76 mbedtls_x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */
77 mbedtls_x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */
78 mbedtls_x509_buf v3_ext; /**< Optional X.509 v3 extensions. */
[all …]
Dx509_csr.h52 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */
53 mbedtls_x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */
57 mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). */
62 mbedtls_x509_buf sig_oid;
63 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
/third_party/libwebsockets/lib/tls/mbedtls/
Dprivate-lib-tls-mbedtls.h36 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,
Dmbedtls-extensions.c138 mbedtls_x509_buf type_id; /**< The type id. */
149 mbedtls_x509_buf oid; /**< The object identifier. */
150 mbedtls_x509_buf val; /**< The named value. */
164mbedtls_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()
Dmbedtls-x509.c101 mbedtls_x509_buf skid; in lws_tls_mbedtls_cert_info()
/third_party/mbedtls/library/
Dx509.c79 mbedtls_x509_buf *serial ) in mbedtls_x509_get_serial()
110 mbedtls_x509_buf *alg ) in mbedtls_x509_get_alg_null()
124 mbedtls_x509_buf *alg, mbedtls_x509_buf *params ) in mbedtls_x509_get_alg()
144 static int x509_get_hash_alg( const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg ) in x509_get_hash_alg()
149 mbedtls_x509_buf md_oid; in x509_get_hash_alg()
203 int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params, in mbedtls_x509_get_rsassa_pss_params()
211 mbedtls_x509_buf alg_id, alg_params; in mbedtls_x509_get_rsassa_pss_params()
352 mbedtls_x509_buf *oid; in x509_get_attr_type_value()
353 mbedtls_x509_buf *val; in x509_get_attr_type_value()
629 int mbedtls_x509_get_sig( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig ) in mbedtls_x509_get_sig()
[all …]
Dx509_crl.c97 mbedtls_x509_buf *ext ) in x509_get_crl_ext()
177 mbedtls_x509_buf *ext ) in x509_get_crl_entry_ext()
301 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in mbedtls_x509_crl_parse_der()
310 memset( &sig_params1, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_crl_parse_der()
311 memset( &sig_params2, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_crl_parse_der()
312 memset( &sig_oid2, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_crl_parse_der()
Dx509_crt.c283 static int x509_check_wildcard( const char *cn, const mbedtls_x509_buf *name ) in x509_check_wildcard()
319 static int x509_string_cmp( const mbedtls_x509_buf *a, const mbedtls_x509_buf *b ) in x509_string_cmp()
473 mbedtls_x509_buf *uid, int n ) in x509_get_uid()
815 mbedtls_x509_buf policy_oid; in x509_get_certificate_policies()
928 mbedtls_x509_buf extn_oid = {0, 0, NULL}; in x509_get_crt_ext()
1095 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in x509_crt_parse_der_core()
1097 memset( &sig_params1, 0, sizeof( mbedtls_x509_buf ) ); in x509_crt_parse_der_core()
1098 memset( &sig_params2, 0, sizeof( mbedtls_x509_buf ) ); in x509_crt_parse_der_core()
1099 memset( &sig_oid2, 0, sizeof( mbedtls_x509_buf ) ); in x509_crt_parse_der_core()
1700 static int x509_get_other_name( const mbedtls_x509_buf *subject_alt_name, in x509_get_other_name()
[all …]
Dx509_csr.c91 mbedtls_x509_buf sig_params; in mbedtls_x509_csr_parse_der()
93 memset( &sig_params, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_csr_parse_der()
/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.function306 int parse_crt_ext_cb( void *p_ctx, mbedtls_x509_crt const *crt, mbedtls_x509_buf const *oid,
311 mbedtls_x509_buf *new_oid = (mbedtls_x509_buf *)p_ctx;
914 mbedtls_x509_buf oid;
1127 mbedtls_x509_buf oid;
1155 mbedtls_x509_buf oid;
1246 mbedtls_x509_buf buf;
/third_party/mbedtls/
DChangeLog2812 * Fix mbedtls_x509_get_sig() to update the ASN1 type in the mbedtls_x509_buf