summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-18 22:51:28 +0100
committerGravatar Martin Szulecki2013-11-18 22:51:28 +0100
commit78a239bf2c64c9e37c21b2ddabbc0d76ec599afb (patch)
tree46597ee9b86be20f315d6b271fbd79ccdc835594 /src/dfu.h
parent5a6dcf255deb905e23fbedbb6dcd1e3eeabd5825 (diff)
downloadidevicerestore-78a239bf2c64c9e37c21b2ddabbc0d76ec599afb.tar.gz
idevicerestore-78a239bf2c64c9e37c21b2ddabbc0d76ec599afb.tar.bz2
Split nonce retrieval into ApNonce and SepNonce for DFU and Recovery modes
Diffstat (limited to 'src/dfu.h')
-rw-r--r--src/dfu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dfu.h b/src/dfu.h
index 8b57022..36badb2 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -44,7 +44,8 @@ const char* dfu_check_product_type(struct idevicerestore_client_t* client);
int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size);
int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component);
int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid);
-int dfu_get_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
+int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
+int dfu_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
int dfu_enter_recovery(struct idevicerestore_client_t* client, plist_t build_identity);