Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dasn1.h155 typedef struct mbedtls_asn1_buf struct
161 mbedtls_asn1_buf; argument
179 mbedtls_asn1_buf buf; /**< Buffer containing the given ASN.1 item. */
189 mbedtls_asn1_buf oid; /**< The object identifier. */
190 mbedtls_asn1_buf val; /**< The named value. */
556 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params );
575 mbedtls_asn1_buf *alg );
A Doid.h461 int mbedtls_oid_get_numeric_string( char *buf, size_t size, const mbedtls_asn1_buf *oid );
471 int mbedtls_oid_get_x509_ext_type( const mbedtls_asn1_buf *oid, int *ext_type );
492 int mbedtls_oid_get_pk_alg( const mbedtls_asn1_buf *oid, mbedtls_pk_type_t *pk_alg );
515 int mbedtls_oid_get_ec_grp( const mbedtls_asn1_buf *oid, mbedtls_ecp_group_id *grp_id );
540 int mbedtls_oid_get_sig_alg( const mbedtls_asn1_buf *oid,
551 int mbedtls_oid_get_sig_alg_desc( const mbedtls_asn1_buf *oid, const char **desc );
574 int mbedtls_oid_get_md_alg( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_alg );
584 int mbedtls_oid_get_md_hmac( const mbedtls_asn1_buf *oid, mbedtls_md_type_t *md_hmac );
595 int mbedtls_oid_get_extended_key_usage( const mbedtls_asn1_buf *oid, const char **desc );
605 int mbedtls_oid_get_certificate_policies( const mbedtls_asn1_buf *oid, const char **desc );
[all …]
A Dpkcs12.h73 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode,
96 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode,
A Dpkcs5.h70 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
A Dx509.h231 typedef mbedtls_asn1_buf mbedtls_x509_buf;
A Dcompat-1.3.h1694 #define _asn1_buf mbedtls_asn1_buf
1738 #define asn1_buf mbedtls_asn1_buf
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpkcs12.c48 static int pkcs12_parse_pbe_params( mbedtls_asn1_buf *params, in pkcs12_parse_pbe_params()
49 mbedtls_asn1_buf *salt, int *iterations ) in pkcs12_parse_pbe_params()
84 static int pkcs12_pbe_derive_key_iv( mbedtls_asn1_buf *pbe_params, mbedtls_md_type_t md_type, in pkcs12_pbe_derive_key_iv()
90 mbedtls_asn1_buf salt; in pkcs12_pbe_derive_key_iv()
97 memset( &salt, 0, sizeof(mbedtls_asn1_buf) ); in pkcs12_pbe_derive_key_iv()
128 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe_sha1_rc4_128()
169 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe()
A Dpkcs5.c53 static int pkcs5_parse_pbkdf2_params( const mbedtls_asn1_buf *params, in pkcs5_parse_pbkdf2_params()
54 mbedtls_asn1_buf *salt, int *iterations, in pkcs5_parse_pbkdf2_params()
58 mbedtls_asn1_buf prf_alg_oid; in pkcs5_parse_pbkdf2_params()
109 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2()
116 mbedtls_asn1_buf kdf_alg_oid, enc_scheme_oid, kdf_alg_params, enc_scheme_params; in mbedtls_pkcs5_pbes2()
117 mbedtls_asn1_buf salt; in mbedtls_pkcs5_pbes2()
A Dasn1parse.c381 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg()
404 mbedtls_platform_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg()
425 mbedtls_asn1_buf *alg ) in mbedtls_asn1_get_alg_null()
428 mbedtls_asn1_buf params; in mbedtls_asn1_get_alg_null()
430 memset( &params, 0, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg_null()
A Dpkparse.c184 mbedtls_asn1_buf *params ) in pk_get_ecparams()
239 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified()
428 static int pk_group_id_from_specified( const mbedtls_asn1_buf *params, in pk_group_id_from_specified()
456 static int pk_use_ecparams( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_use_ecparams()
579 mbedtls_pk_type_t *pk_alg, mbedtls_asn1_buf *params ) in pk_get_pk_alg()
582 mbedtls_asn1_buf alg_oid; in pk_get_pk_alg()
584 memset( params, 0, sizeof(mbedtls_asn1_buf) ); in pk_get_pk_alg()
615 mbedtls_asn1_buf alg_params; in mbedtls_pk_parse_subpubkey()
868 mbedtls_asn1_buf params; in pk_parse_key_sec1_der()
1006 mbedtls_asn1_buf params; in pk_parse_key_pkcs8_unencrypted_der()
[all …]
A Doid.c50 const mbedtls_asn1_buf *oid ) \
72 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1 ) \
85 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1 ) \
99 int FN_NAME( const mbedtls_asn1_buf *oid, ATTR1_TYPE * ATTR1, \
728 const mbedtls_asn1_buf *oid )
A Dx509_crt.c628 mbedtls_asn1_buf *buf; in x509_get_subject_alt_name()
769 mbedtls_asn1_buf *buf; in x509_get_certificate_policies()

Completed in 33 milliseconds