Home
last modified time | relevance | path

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

/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dasn1.h118 typedef struct mbedtls_asn1_buf struct
124 mbedtls_asn1_buf; argument
142 mbedtls_asn1_buf buf; /**< Buffer containing the given ASN.1 item. */
152 mbedtls_asn1_buf oid; /**< The object identifier. */
153 mbedtls_asn1_buf val; /**< The named value. */
292 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params );
308 mbedtls_asn1_buf *alg );
Doid.h400 int mbedtls_oid_get_numeric_string( char *buf, size_t size, const mbedtls_asn1_buf *oid );
411 int mbedtls_oid_get_x509_ext_type( const mbedtls_asn1_buf *oid, int *ext_type );
423 int mbedtls_oid_get_attr_short_name( const mbedtls_asn1_buf *oid, const char **short_name );
433 int mbedtls_oid_get_pk_alg( const mbedtls_asn1_buf *oid, mbedtls_pk_type_t *pk_alg );
456 int mbedtls_oid_get_ec_grp( const mbedtls_asn1_buf *oid, mbedtls_ecp_group_id *grp_id );
481 int mbedtls_oid_get_sig_alg( const mbedtls_asn1_buf *oid,
492 int mbedtls_oid_get_sig_alg_desc( const mbedtls_asn1_buf *oid, const char **desc );
515 int mbedtls_oid_get_md_alg( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_alg );
526 int mbedtls_oid_get_extended_key_usage( const mbedtls_asn1_buf *oid, const char **desc );
548 int mbedtls_oid_get_cipher_alg( const mbedtls_asn1_buf *oid, mbedtls_cipher_type_t *cipher_alg );
[all …]
Dpkcs12.h62 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode,
83 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode,
Dpkcs5.h59 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
Dx509.h187 typedef mbedtls_asn1_buf mbedtls_x509_buf;
Dcompat-1.3.h1727 #define _asn1_buf mbedtls_asn1_buf
1772 #define asn1_buf mbedtls_asn1_buf
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dasn1parse.c248 mbedtls_asn1_buf *buf; in mbedtls_asn1_get_sequence_of()
293 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg()
316 mbedtls_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg()
337 mbedtls_asn1_buf *alg ) in mbedtls_asn1_get_alg_null()
340 mbedtls_asn1_buf params; in mbedtls_asn1_get_alg_null()
342 memset( &params, 0, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg_null()
Dpkcs12.c55 static int pkcs12_parse_pbe_params( mbedtls_asn1_buf *params, in pkcs12_parse_pbe_params()
56 mbedtls_asn1_buf *salt, int *iterations ) in pkcs12_parse_pbe_params()
91 static int pkcs12_pbe_derive_key_iv( mbedtls_asn1_buf *pbe_params, mbedtls_md_type_t md_type, in pkcs12_pbe_derive_key_iv()
97 mbedtls_asn1_buf salt; in pkcs12_pbe_derive_key_iv()
104 memset( &salt, 0, sizeof(mbedtls_asn1_buf) ); in pkcs12_pbe_derive_key_iv()
135 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe_sha1_rc4_128()
176 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe()
Dpkcs5.c54 static int pkcs5_parse_pbkdf2_params( const mbedtls_asn1_buf *params, in pkcs5_parse_pbkdf2_params()
55 mbedtls_asn1_buf *salt, int *iterations, in pkcs5_parse_pbkdf2_params()
59 mbedtls_asn1_buf prf_alg_oid; in pkcs5_parse_pbkdf2_params()
111 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2()
118 mbedtls_asn1_buf kdf_alg_oid, enc_scheme_oid, kdf_alg_params, enc_scheme_params; in mbedtls_pkcs5_pbes2()
119 mbedtls_asn1_buf salt; in mbedtls_pkcs5_pbes2()
Dpkparse.c174 mbedtls_asn1_buf *params ) in pk_get_ecparams()
225 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified()
414 static int pk_group_id_from_specified( const mbedtls_asn1_buf *params, in pk_group_id_from_specified()
442 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
548 mbedtls_pk_type_t *pk_alg, mbedtls_asn1_buf *params ) in pk_get_pk_alg()
551 mbedtls_asn1_buf alg_oid; in pk_get_pk_alg()
553 memset( params, 0, sizeof(mbedtls_asn1_buf) ); in pk_get_pk_alg()
584 mbedtls_asn1_buf alg_params; in mbedtls_pk_parse_subpubkey()
730 mbedtls_asn1_buf params; in pk_parse_key_sec1_der()
855 mbedtls_asn1_buf params; in pk_parse_key_pkcs8_unencrypted_der()
[all …]
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 ) \
671 const mbedtls_asn1_buf *oid )
Drsa.c1343 mbedtls_asn1_buf oid; in mbedtls_rsa_rsassa_pkcs1_v15_verify()
Dx509_crt.c449 mbedtls_asn1_buf *buf; in x509_get_subject_alt_name()
/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_pkcs5.function54 mbedtls_asn1_buf params;
/net-tools-2.7.6/mbedtls-2.4.0/scripts/data_files/
Drename-1.3-2.0.txt1271 _asn1_buf mbedtls_asn1_buf
1316 asn1_buf mbedtls_asn1_buf