documentation:encryption:opera:signing_aif_executables
General
Set the 3DO header[0] values as necessary of the AIF executable.
Set the signature location.
Do NOT set the signature size. Keep it / set it to zero (0x00000000).
Calculate the MD5 digest of the whole file.
Create the `message` to sign.
Append the MD5 digest to the following data (presented in hex)
1ffffffffffffffffffffffffffffffffffffffffffffffffffffff003020300c06082a864886f70d020505000410
Use the “3DO” private key[1] to sign the message.
Append the signature to the end of the AIF executable.
Set the signature size to it's length (0x40).
[0] 3do_aif_header
[1] encryption_keys
modbin + openssl
documentation/encryption/opera/signing_aif_executables.txt · Last modified: 2022/02/15 17:52 by trapexit