summaryrefslogtreecommitdiff
path: root/utils/atj2137/atjboottool/atj_tables.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-26 18:16:00 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-26 18:17:59 +0100
commit7807934a271e9eb7b045cdcd89ba70fb59a91d69 (patch)
treeffe7ba88cd88aa7d32f3484edb11eec59204b333 /utils/atj2137/atjboottool/atj_tables.h
parent3ad9caeb2a8443b5975fb91c83d2793166a4e4f6 (diff)
downloadrockbox-7807934a271e9eb7b045cdcd89ba70fb59a91d69.tar.gz
rockbox-7807934a271e9eb7b045cdcd89ba70fb59a91d69.zip
atjboottool: document more header fields and crypto code
The encryption definitely uses some standard elliptic curve encryption over binary fields (163 and 233 bits, standard polynomials). It is still unclear how this is used in the actual encryption, the key authentification and derivation do not look standard. Change-Id: I6b9180ff7e6115e1dceca8489e986a02a9ea6fc9
Diffstat (limited to 'utils/atj2137/atjboottool/atj_tables.h')
-rw-r--r--utils/atj2137/atjboottool/atj_tables.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/atj2137/atjboottool/atj_tables.h b/utils/atj2137/atjboottool/atj_tables.h
index 5daa66fec3..d5eb4ae5d4 100644
--- a/utils/atj2137/atjboottool/atj_tables.h
+++ b/utils/atj2137/atjboottool/atj_tables.h
@@ -23,14 +23,13 @@
23 23
24uint8_t g_check_block_A_table[1024]; 24uint8_t g_check_block_A_table[1024];
25uint8_t g_decode_B_table[20]; 25uint8_t g_decode_B_table[20];
26uint32_t g_xor_key[9];
27uint32_t g_crypto_table[8]; 26uint32_t g_crypto_table[8];
28uint32_t g_crypto_table2[8]; 27uint32_t g_crypto_table2[8];
29uint32_t g_crypto_key6[8]; 28uint32_t g_crypto_key6[8];
30uint32_t g_crypto_key3[6]; 29uint32_t g_crypto_key3[6];
31uint32_t g_crypto_key4[6]; 30uint32_t g_crypto_key4[6];
32uint32_t g_crypto_key5[6]; 31uint32_t g_crypto_key5[6];
33uint32_t g_crypto_data[8]; 32uint32_t g_atj_ec233_a[8];
34uint32_t g_crypto_data3[6]; 33uint32_t g_atj_ec163_a[6];
35 34
36#endif // __ATJ_TABLES__ 35#endif // __ATJ_TABLES__