Home
last modified time | relevance | path

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

/reactos/sdk/include/reactos/libs/mbedtls/
H A Dasn1.h159 typedef struct mbedtls_asn1_buf struct
165 mbedtls_asn1_buf; argument
183 mbedtls_asn1_buf buf; /**< Buffer containing the given ASN.1 item. */
193 mbedtls_asn1_buf oid; /**< The object identifier. */
194 mbedtls_asn1_buf val; /**< The named value. */
333 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params );
349 mbedtls_asn1_buf *alg );
H A Doid.h450 int mbedtls_oid_get_numeric_string( char *buf, size_t size, const mbedtls_asn1_buf *oid );
461 int mbedtls_oid_get_x509_ext_type( const mbedtls_asn1_buf *oid, int *ext_type );
473 int mbedtls_oid_get_attr_short_name( const mbedtls_asn1_buf *oid, const char **short_name );
483 int mbedtls_oid_get_pk_alg( const mbedtls_asn1_buf *oid, mbedtls_pk_type_t *pk_alg );
506 int mbedtls_oid_get_ec_grp( const mbedtls_asn1_buf *oid, mbedtls_ecp_group_id *grp_id );
531 int mbedtls_oid_get_sig_alg( const mbedtls_asn1_buf *oid,
542 int mbedtls_oid_get_sig_alg_desc( const mbedtls_asn1_buf *oid, const char **desc );
565 int mbedtls_oid_get_md_alg( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_alg );
575 int mbedtls_oid_get_md_hmac( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_hmac );
586 int mbedtls_oid_get_extended_key_usage( const mbedtls_asn1_buf *oid, const char **desc );
[all …]
H A Dpkcs12.h96 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode,
117 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode,
H A Dpkcs5.h93 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
H A Dx509.h214 typedef mbedtls_asn1_buf mbedtls_x509_buf;
H A Dcompat-1.3.h1721 #define _asn1_buf mbedtls_asn1_buf
1765 #define asn1_buf mbedtls_asn1_buf
/reactos/dll/3rdparty/mbedtls/
H A Dasn1parse.c269 mbedtls_asn1_buf *buf; in mbedtls_asn1_get_sequence_of()
314 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg()
337 mbedtls_platform_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg()
358 mbedtls_asn1_buf *alg ) in mbedtls_asn1_get_alg_null()
361 mbedtls_asn1_buf params; in mbedtls_asn1_get_alg_null()
363 memset( &params, 0, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg_null()
H A Dpkcs12.c78 static int pkcs12_parse_pbe_params( mbedtls_asn1_buf *params, in pkcs12_parse_pbe_params()
79 mbedtls_asn1_buf *salt, int *iterations ) in pkcs12_parse_pbe_params()
114 static int pkcs12_pbe_derive_key_iv( mbedtls_asn1_buf *pbe_params, mbedtls_md_type_t md_type, in pkcs12_pbe_derive_key_iv()
120 mbedtls_asn1_buf salt; in pkcs12_pbe_derive_key_iv()
127 memset( &salt, 0, sizeof(mbedtls_asn1_buf) ); in pkcs12_pbe_derive_key_iv()
158 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe_sha1_rc4_128()
199 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe()
H A Dpkcs5.c83 static int pkcs5_parse_pbkdf2_params( const mbedtls_asn1_buf *params, in pkcs5_parse_pbkdf2_params()
84 mbedtls_asn1_buf *salt, int *iterations, in pkcs5_parse_pbkdf2_params()
88 mbedtls_asn1_buf prf_alg_oid; in pkcs5_parse_pbkdf2_params()
138 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2()
145 mbedtls_asn1_buf kdf_alg_oid, enc_scheme_oid, kdf_alg_params, enc_scheme_params; in mbedtls_pkcs5_pbes2()
146 mbedtls_asn1_buf salt; in mbedtls_pkcs5_pbes2()
H A Dpkparse.c214 mbedtls_asn1_buf *params ) in pk_get_ecparams()
269 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified()
458 static int pk_group_id_from_specified( const mbedtls_asn1_buf *params, in pk_group_id_from_specified()
486 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
609 mbedtls_pk_type_t *pk_alg, mbedtls_asn1_buf *params ) in pk_get_pk_alg()
612 mbedtls_asn1_buf alg_oid; in pk_get_pk_alg()
614 memset( params, 0, sizeof(mbedtls_asn1_buf) ); in pk_get_pk_alg()
645 mbedtls_asn1_buf alg_params; in mbedtls_pk_parse_subpubkey()
898 mbedtls_asn1_buf params; in pk_parse_key_sec1_der()
1036 mbedtls_asn1_buf params; in pk_parse_key_pkcs8_unencrypted_der()
[all …]
H A Doid.c84 const mbedtls_asn1_buf *oid ) \
106 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1 ) \
119 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1 ) \
133 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1, \
744 const mbedtls_asn1_buf *oid )
H A Dx509_crt.c650 mbedtls_asn1_buf *buf; in x509_get_subject_alt_name()