• Álvaro Fernández Rojas's avatar
    scripts: support Sercomm crypto · 7f1250a7
    Álvaro Fernández Rojas authored
    
    
    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: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
    7f1250a7
sercomm-crypto.py 1.68 KB