/external/openthread/third_party/mbedtls/repo/library/ |
D | pkcs12.c | 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() argument 100 if( ( ret = pkcs12_parse_pbe_params( pbe_params, &salt, 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() argument 134 ((void) pbe_params); in mbedtls_pkcs12_pbe_sha1_rc4_128() 150 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, MBEDTLS_MD_SHA1, in mbedtls_pkcs12_pbe_sha1_rc4_128() 169 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe() argument 191 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
|
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 | pkparse.c | 1105 mbedtls_asn1_buf pbe_alg_oid, pbe_params; in pk_parse_key_pkcs8_encrypted_der() local 1140 if( ( ret = mbedtls_asn1_get_alg( &p, end, &pbe_alg_oid, &pbe_params ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der() 1154 if( ( ret = mbedtls_pkcs12_pbe( &pbe_params, MBEDTLS_PKCS12_PBE_DECRYPT, in pk_parse_key_pkcs8_encrypted_der() 1168 if( ( ret = mbedtls_pkcs12_pbe_sha1_rc4_128( &pbe_params, in pk_parse_key_pkcs8_encrypted_der() 1189 if( ( ret = mbedtls_pkcs5_pbes2( &pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der()
|
/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
D | pkcs12.h | 73 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,
|
D | pkcs5.h | 70 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
|
/external/mbedtls/library/ |
D | pkcs12.c | 83 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 99 if( ( ret = pkcs12_parse_pbe_params( pbe_params, &salt, in pkcs12_pbe_derive_key_iv() 127 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe() argument 149 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
|
D | pkcs5.c | 107 int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs5_pbes2() argument 123 p = pbe_params->p; in mbedtls_pkcs5_pbes2() 124 end = p + pbe_params->len; in mbedtls_pkcs5_pbes2() 132 if( pbe_params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_pkcs5_pbes2()
|
D | pkparse.c | 1088 mbedtls_asn1_buf pbe_alg_oid, pbe_params; in pk_parse_key_pkcs8_encrypted_der() local 1123 if( ( ret = mbedtls_asn1_get_alg( &p, end, &pbe_alg_oid, &pbe_params ) ) != 0 ) in pk_parse_key_pkcs8_encrypted_der() 1137 if( ( ret = mbedtls_pkcs12_pbe( &pbe_params, MBEDTLS_PKCS12_PBE_DECRYPT, in pk_parse_key_pkcs8_encrypted_der() 1154 if( ( ret = mbedtls_pkcs5_pbes2( &pbe_params, MBEDTLS_PKCS5_DECRYPT, pwd, pwdlen, in pk_parse_key_pkcs8_encrypted_der()
|
/external/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,
|