Home
last modified time | relevance | path

Searched refs:mbedtls_asn1_buf (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dasn1.h134 typedef struct mbedtls_asn1_buf struct
140 mbedtls_asn1_buf; argument
158 mbedtls_asn1_buf buf; /**< Buffer containing the given ASN.1 item. */
168 mbedtls_asn1_buf oid; /**< The object identifier. */
169 mbedtls_asn1_buf val; /**< The named value. */
308 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params );
324 mbedtls_asn1_buf *alg );
A Doid.h425 int mbedtls_oid_get_numeric_string( char *buf, size_t size, const mbedtls_asn1_buf *oid );
436 int mbedtls_oid_get_x509_ext_type( const mbedtls_asn1_buf *oid, int *ext_type );
448 int mbedtls_oid_get_attr_short_name( const mbedtls_asn1_buf *oid, const char **short_name );
458 int mbedtls_oid_get_pk_alg( const mbedtls_asn1_buf *oid, mbedtls_pk_type_t *pk_alg );
481 int mbedtls_oid_get_ec_grp( const mbedtls_asn1_buf *oid, mbedtls_ecp_group_id *grp_id );
506 int mbedtls_oid_get_sig_alg( const mbedtls_asn1_buf *oid,
517 int mbedtls_oid_get_sig_alg_desc( const mbedtls_asn1_buf *oid, const char **desc );
540 int mbedtls_oid_get_md_alg( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_alg );
550 int mbedtls_oid_get_md_hmac( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_hmac );
561 int mbedtls_oid_get_extended_key_usage( const mbedtls_asn1_buf *oid, const char **desc );
[all …]
A Dpkcs12.h65 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode,
86 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode,
A Dpkcs5.h62 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
A Dx509.h189 typedef mbedtls_asn1_buf mbedtls_x509_buf;
A Dcompat-1.3.h1690 #define _asn1_buf mbedtls_asn1_buf
1734 #define asn1_buf mbedtls_asn1_buf
/AliOS-Things-master/components/mbedtls/library/
A Dasn1parse.c244 mbedtls_asn1_buf *buf; in mbedtls_asn1_get_sequence_of()
289 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg()
312 mbedtls_platform_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg()
333 mbedtls_asn1_buf *alg ) in mbedtls_asn1_get_alg_null()
336 mbedtls_asn1_buf params; in mbedtls_asn1_get_alg_null()
338 memset( &params, 0, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg_null()
A Dpkcs12.c53 static int pkcs12_parse_pbe_params( mbedtls_asn1_buf *params, in pkcs12_parse_pbe_params()
54 mbedtls_asn1_buf *salt, int *iterations ) in pkcs12_parse_pbe_params()
89 static int pkcs12_pbe_derive_key_iv( mbedtls_asn1_buf *pbe_params, mbedtls_md_type_t md_type, in pkcs12_pbe_derive_key_iv()
95 mbedtls_asn1_buf salt; in pkcs12_pbe_derive_key_iv()
102 memset( &salt, 0, sizeof(mbedtls_asn1_buf) ); in pkcs12_pbe_derive_key_iv()
133 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe_sha1_rc4_128()
174 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe()
A Dpkcs5.c58 static int pkcs5_parse_pbkdf2_params( const mbedtls_asn1_buf *params, in pkcs5_parse_pbkdf2_params()
59 mbedtls_asn1_buf *salt, int *iterations, in pkcs5_parse_pbkdf2_params()
63 mbedtls_asn1_buf prf_alg_oid; in pkcs5_parse_pbkdf2_params()
113 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2()
120 mbedtls_asn1_buf kdf_alg_oid, enc_scheme_oid, kdf_alg_params, enc_scheme_params; in mbedtls_pkcs5_pbes2()
121 mbedtls_asn1_buf salt; in mbedtls_pkcs5_pbes2()
A Dpkparse.c189 mbedtls_asn1_buf *params ) in pk_get_ecparams()
244 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified()
433 static int pk_group_id_from_specified( const mbedtls_asn1_buf *params, in pk_group_id_from_specified()
461 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
584 mbedtls_pk_type_t *pk_alg, mbedtls_asn1_buf *params ) in pk_get_pk_alg()
587 mbedtls_asn1_buf alg_oid; in pk_get_pk_alg()
589 memset( params, 0, sizeof(mbedtls_asn1_buf) ); in pk_get_pk_alg()
620 mbedtls_asn1_buf alg_params; in mbedtls_pk_parse_subpubkey()
817 mbedtls_asn1_buf params; in pk_parse_key_sec1_der()
955 mbedtls_asn1_buf params; in pk_parse_key_pkcs8_unencrypted_der()
[all …]
A Doid.c58 static const TYPE_T * oid_ ## NAME ## _from_asn1( const mbedtls_asn1_buf *oid ) \
79 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1 ) \
92 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1 ) \
106 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1, ATTR2_TYPE * ATTR2 ) \
716 const mbedtls_asn1_buf *oid )
A Dx509_crt.c624 mbedtls_asn1_buf *buf; in x509_get_subject_alt_name()

Completed in 31 milliseconds