Skip to content
Snippets Groups Projects
Commit 92a84f33 authored by Éloïs's avatar Éloïs
Browse files

Merge branch 'dubp/ios-header'

parents 131a0559 b7fa9909
No related branches found
No related tags found
No related merge requests found
...@@ -161,49 +161,79 @@ extern "C" ...@@ -161,49 +161,79 @@ extern "C"
{ {
#endif // __cplusplus #endif // __cplusplus
int32_t error_message_utf8(char *buf, int32_t length); void change_dewif_secret_code(int64_t port,
const char *dewif,
int32_t last_error_length(void); const char *old_secret_code,
uint32_t member_wallet,
int32_t change_dewif_pin(int64_t port, uint32_t secret_code_type,
const char *currency, int64_t system_memory);
const char *dewif,
const char *old_pin, void gen_dewif(int64_t port,
const char *new_pin); const char *currency,
uint32_t language,
int32_t error_message_utf8(char *buf, int32_t length); const char *mnemonic,
uint32_t member_wallet,
int32_t gen_dewif(int64_t port, uint32_t secret_code_type,
const char *currency, int64_t system_memory,
uint32_t language, uint32_t wallet_type);
const char *mnemonic,
const char *pin); void gen_dewif_from_legacy(int64_t port,
const char *currency,
int32_t gen_mnemonic(int64_t port, uint32_t language); const char *salt,
const char *password,
int32_t gen_pin10(int64_t port); uint32_t member_wallet,
uint32_t secret_code_type,
int32_t gen_pin6(int64_t port); int64_t system_memory);
int32_t gen_pin8(int64_t port); void gen_mnemonic(int64_t port, uint32_t language);
int32_t get_dewif_pubkey(int64_t port, const char *currency, const char *dewif, const char *pin); void get_bip32_dewif_accounts_pubkeys(int64_t port,
const char *currency,
int32_t last_error_length(void); const char *dewif,
const char *secret_code,
int32_t mnemonic_to_pubkey(int64_t port, uint32_t language, const char *mnemonic_phrase); uint32_t accounts_indexs_len,
const uint32_t *accounts_indexs);
int32_t sign(int64_t port,
const char *currency, void get_dewif_meta(int64_t port,
const char *dewif, const char *dewif,
const char *pin, uint32_t member_wallet,
const char *msg); uint32_t secret_code_type);
int32_t sign_several(int64_t port, void get_dewif_pubkey(int64_t port, const char *currency, const char *dewif, const char *pin);
const char *currency,
const char *dewif, int32_t get_dewif_secret_code_len(const char *dewif,
const char *pin, uint32_t member_wallet,
const char *msgs); uint32_t secret_code_type);
void get_legacy_pubkey(int64_t port, const char *salt, const char *password);
void mnemonic_to_pubkey(int64_t port, uint32_t language, const char *mnemonic_phrase);
void sign(int64_t port, const char *currency, const char *dewif, const char *pin, const char *msg);
void sign_bip32_transparent(int64_t port,
uint32_t account_index,
const char *currency,
const char *dewif,
const char *secret_code,
const char *msg);
void sign_legacy(int64_t port, const char *salt, const char *password, const char *msg);
void sign_several(int64_t port,
const char *currency,
const char *dewif,
const char *pin,
uint32_t msgs_len,
const char *const *msgs);
void sign_several_bip32_transparent(int64_t port,
uint32_t account_index,
const char *currency,
const char *dewif,
const char *pin,
uint32_t msgs_len,
const char *const *msgs);
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment