openwrt/include
Wenli Looi d5858c6d97
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>
(cherry picked from commit efca76ffce)
2022-07-21 16:58:00 +02:00
..
site
autotools.mk build: autotools: fix cache path 2022-04-05 00:20:24 +02:00
bpf.mk treewide: drop use of which 2022-01-17 09:14:26 +01:00
cmake.mk treewide: drop use of which 2022-01-17 09:14:26 +01:00
debug.mk
depends.mk
device_table.txt
download.mk download: improve handling of invalid local files 2021-11-01 20:18:55 +01:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: add HOST_CXXFLAGS for host build 2022-01-16 22:13:46 +01:00
image-commands.mk image: add support for Netgear encrypted image 2022-07-21 16:58:00 +02:00
image.mk build: store sha256_unsigned in JSON 2022-04-06 14:03:58 +01:00
kernel-5.10 kernel: bump 5.10 to 5.10.131 2022-07-19 21:36:36 +02:00
kernel-build.mk
kernel-defaults.mk kernel: set SOURCE_DATE_EPOCH for initramfs root dir 2022-04-06 14:03:58 +01:00
kernel-version.mk kernel: split kernel version to dedicated files 2022-01-13 23:46:39 +00:00
kernel.mk kernel: support setting extra CFLAGS for kernel compilation 2022-07-08 11:28:01 +02:00
logo.png
logo.svg
meson.mk tools/meson: update to 0.61.4 2022-04-10 16:26:01 +01:00
netfilter.mk netfilter: kmod-nft-xfrm 2022-06-25 00:05:21 +02:00
nls.mk gettext: remove package 2021-11-20 21:08:25 +01:00
package-bin.mk build: allow package to be built for all variants 2021-11-15 00:38:46 +01:00
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk tools: build bash on macOS and use it for ipkg-build 2022-01-27 13:38:48 +01:00
package-seccomp.mk
package.mk build: fix host package unpack if git-src is used 2021-11-04 16:43:32 +01:00
prereq-build.mk include/prereq-build.mk: macOS cross build improvements 2022-06-27 22:34:05 +02:00
prereq.mk treewide: drop use of which 2022-01-17 09:14:26 +01:00
quilt.mk quilt.mk: fix typo in the Host section 2022-03-19 16:13:58 +01:00
rootfs.mk
scan.awk
scan.mk build: fix find warning with SCAN_EXTRA 2022-06-07 22:28:59 +02:00
shell.sh
subdir.mk build: allow package to be built for all variants 2021-11-15 00:38:46 +01:00
target.mk build: target: improve UX of CONFIG_TARGET handling 2022-04-17 21:27:07 +02:00
toolchain-build.mk
toplevel.mk build: toplevel.mk: fix missing kconfig dependency tracking 2022-02-22 16:37:23 +01:00
trusted-firmware-a.mk trusted-firmware-a.mk: make sure include directory exists 2022-04-10 16:32:20 +01:00
u-boot.mk u-boot.mk: add LOCALVERSION (explicitly specify OpenWrt build) 2022-02-28 23:54:52 +01:00
uclibc++.mk
unpack.mk
verbose.mk verbose.mk: print ERROR messages in non-verbose 2022-02-28 23:52:13 +01:00
version.mk OpenWrt v22.03.0-rc5: revert to branch defaults 2022-07-06 23:01:51 +02:00