aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorWenli Looi <wlooi@ucalgary.ca>2022-07-02 20:16:21 +0000
committerChristian Marangi <ansuelsmth@gmail.com>2022-07-19 14:49:03 +0200
commitefca76ffce5cf464e82d8269d79877f442209a0a (patch)
treedbf0d125c4dfee9bcf089510230f7cdb49a041ce /toolchain
parent6c7e337c80f92693c2ca628a4a56aeaec4cc3ca8 (diff)
downloadupstream-efca76ffce5cf464e82d8269d79877f442209a0a.tar.gz
upstream-efca76ffce5cf464e82d8269d79877f442209a0a.tar.bz2
upstream-efca76ffce5cf464e82d8269d79877f442209a0a.zip
image: add support for Netgear encrypted image
Netgear encrypted image is used in various devices including WAX202, WAX206, and EX6400v3. This image format also requires a dummy squashfs4 image which is added here as well. References in WAX202 GPL source: https://www.downloads.netgear.com/files/GPL/WAX202_V1.0.5.1_Source.rar * openwrt/bootloader/u-boot-mt7621-2018.09-gitb178829-20200526/board/ralink/common/dual_image.c Bootloader code that verifies the presence of a squashfs4 image, thus a dummy image is added here. * openwrt/tools/imgencoder/src/gj_enc.c Contains code that generates the encrypted image. There is support for adding an RSA signature, but it does not look like the signature is verified by the stock firmware or bootloader. * openwrt/tools/imgencoder/src/imagekey.h Contains the encryption key and IV. It appears the same key/IV is used for other Netgear devices including WAX206 and EX6400v3. Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
Diffstat (limited to 'toolchain')
0 files changed, 0 insertions, 0 deletions