Searched refs:pbe_params (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/library/ |
D | pkcs5.c | 109 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2() argument 127 p = pbe_params->p; in mbedtls_pkcs5_pbes2() 128 end = p + pbe_params->len; in mbedtls_pkcs5_pbes2() 136 if( pbe_params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_pkcs5_pbes2()
|
D | pkcs12.c | 80 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 96 if( ( ret = pkcs12_parse_pbe_params( pbe_params, &salt, in pkcs12_pbe_derive_key_iv() 124 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe() argument 146 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
|
D | pkparse.c | 1112 mbedtls_asn1_buf pbe_alg_oid, pbe_params; in pk_parse_key_pkcs8_encrypted_der() local 1147 if( ( ret = mbedtls_asn1_get_alg( &p, end, &pbe_alg_oid, &pbe_params ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der() 1161 if( ( ret = mbedtls_pkcs12_pbe( &pbe_params, MBEDTLS_PKCS12_PBE_DECRYPT, in pk_parse_key_pkcs8_encrypted_der() 1178 if( ( ret = mbedtls_pkcs5_pbes2( &pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der()
|
/third_party/mbedtls/include/mbedtls/ |
D | pkcs5.h | 66 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
|
D | pkcs12.h | 73 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode,
|