Home
last modified time | relevance | path

Searched refs:pbe_params (Results 1 – 5 of 5) sorted by relevance

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dpkcs12.c91 static int pkcs12_pbe_derive_key_iv( mbedtls_asn1_buf *pbe_params, mbedtls_md_type_t md_type, in pkcs12_pbe_derive_key_iv() argument
107 if( ( ret = pkcs12_parse_pbe_params( pbe_params, &salt, 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() argument
141 ((void) pbe_params); in mbedtls_pkcs12_pbe_sha1_rc4_128()
157 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, MBEDTLS_MD_SHA1, in mbedtls_pkcs12_pbe_sha1_rc4_128()
176 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe() argument
195 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
Dpkcs5.c111 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2() argument
129 p = pbe_params->p; in mbedtls_pkcs5_pbes2()
130 end = p + pbe_params->len; in mbedtls_pkcs5_pbes2()
138 if( pbe_params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_pkcs5_pbes2()
Dpkparse.c946 mbedtls_asn1_buf pbe_alg_oid, pbe_params; in pk_parse_key_pkcs8_encrypted_der() local
982 if( ( ret = mbedtls_asn1_get_alg( &p, end, &pbe_alg_oid, &pbe_params ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der()
997 if( ( ret = mbedtls_pkcs12_pbe( &pbe_params, MBEDTLS_PKCS12_PBE_DECRYPT, in pk_parse_key_pkcs8_encrypted_der()
1011 if( ( ret = mbedtls_pkcs12_pbe_sha1_rc4_128( &pbe_params, in pk_parse_key_pkcs8_encrypted_der()
1032 if( ( ret = mbedtls_pkcs5_pbes2( &pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der()
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
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,