Searched refs:pbe_params (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/library/ |
D | pkcs12.c | 94 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 111 if ((ret = pkcs12_parse_pbe_params(pbe_params, &salt, in pkcs12_pbe_derive_key_iv() 140 int mbedtls_pkcs12_pbe(mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe() argument 164 if ((ret = pkcs12_pbe_derive_key_iv(pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
|
D | pkcs5.c | 121 int mbedtls_pkcs5_pbes2(const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2() argument 137 p = pbe_params->p; in mbedtls_pkcs5_pbes2() 138 end = p + pbe_params->len; in mbedtls_pkcs5_pbes2() 146 if (pbe_params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in mbedtls_pkcs5_pbes2()
|
D | pkparse.c | 1119 mbedtls_asn1_buf pbe_alg_oid, pbe_params; in pk_parse_key_pkcs8_encrypted_der() local 1154 if ((ret = mbedtls_asn1_get_alg(&p, end, &pbe_alg_oid, &pbe_params)) != 0) { in pk_parse_key_pkcs8_encrypted_der() 1169 if ((ret = mbedtls_pkcs12_pbe(&pbe_params, MBEDTLS_PKCS12_PBE_DECRYPT, in pk_parse_key_pkcs8_encrypted_der() 1184 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 | pkcs12.h | 73 int mbedtls_pkcs12_pbe(mbedtls_asn1_buf *pbe_params, int mode,
|
D | pkcs5.h | 66 int mbedtls_pkcs5_pbes2(const mbedtls_asn1_buf *pbe_params, int mode,
|