firmware: add tool for signing d-link ru router factory firmware images

Some Russian d-link routers require that their firmware be signed with a
salted md5 checksum followed by the bytes 0x00 0xc0 0xff 0xee. This tool
signs factory images the OEM's firmware accepts them.

Signed-off-by: Andrew Pikler <andrew.pikler@gmail.com>
This commit is contained in:
Andrew Pikler
2020-10-05 17:13:38 +03:00
committed by Petr Štetiar
parent 8ec997d006
commit 40437b18f4
3 changed files with 231 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ define Host/Compile
$(call cc,pc1crypt)
$(call cc,ptgen cyg_crc32)
$(call cc,seama md5)
$(call cc,sign_dlink_ru md5,-Wall)
$(call cc,spw303v)
$(call cc,srec2bin)
$(call cc,tplink-safeloader md5,-Wall --std=gnu99)