diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-26 18:16:00 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-10-26 18:17:59 +0100 |
commit | 7807934a271e9eb7b045cdcd89ba70fb59a91d69 (patch) | |
tree | ffe7ba88cd88aa7d32f3484edb11eec59204b333 /utils/atj2137/atjboottool/atj_tables.h | |
parent | 3ad9caeb2a8443b5975fb91c83d2793166a4e4f6 (diff) | |
download | rockbox-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.h | 5 |
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 | ||
24 | uint8_t g_check_block_A_table[1024]; | 24 | uint8_t g_check_block_A_table[1024]; |
25 | uint8_t g_decode_B_table[20]; | 25 | uint8_t g_decode_B_table[20]; |
26 | uint32_t g_xor_key[9]; | ||
27 | uint32_t g_crypto_table[8]; | 26 | uint32_t g_crypto_table[8]; |
28 | uint32_t g_crypto_table2[8]; | 27 | uint32_t g_crypto_table2[8]; |
29 | uint32_t g_crypto_key6[8]; | 28 | uint32_t g_crypto_key6[8]; |
30 | uint32_t g_crypto_key3[6]; | 29 | uint32_t g_crypto_key3[6]; |
31 | uint32_t g_crypto_key4[6]; | 30 | uint32_t g_crypto_key4[6]; |
32 | uint32_t g_crypto_key5[6]; | 31 | uint32_t g_crypto_key5[6]; |
33 | uint32_t g_crypto_data[8]; | 32 | uint32_t g_atj_ec233_a[8]; |
34 | uint32_t g_crypto_data3[6]; | 33 | uint32_t g_atj_ec163_a[6]; |
35 | 34 | ||
36 | #endif // __ATJ_TABLES__ | 35 | #endif // __ATJ_TABLES__ |