diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-06-02 08:37:54 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-06-02 08:37:54 +0200 |
commit | 7f1250a7fea716a13c1678a14dbc417ff57e461f (patch) | |
tree | 295ffc76eace4e850586b38a542589578f303dd6 /scripts/ipkg-make-index.sh | |
parent | 58bdbe73212a7f1c2755cf640e21b01e9b2d7b04 (diff) | |
download | upstream-7f1250a7fea716a13c1678a14dbc417ff57e461f.tar.gz upstream-7f1250a7fea716a13c1678a14dbc417ff57e461f.tar.bz2 upstream-7f1250a7fea716a13c1678a14dbc417ff57e461f.zip |
scripts: support Sercomm crypto
Sercomm firmwares are encrypted with AES 256 CBC.
The key is generated with a custom algorithm from the firmware tag:
char key[32];
char version[32];
char iv[32];
char random[32];
char size[32];
Key must be generated with Sercomm's algorithm. However, the rest of the
header can be empty. IV and random are set to 0 on purpose.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'scripts/ipkg-make-index.sh')
0 files changed, 0 insertions, 0 deletions