===== 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] [[documentation:file_formats:sdk:3do_aif_header]] \\ [1] [[documentation:encryption:opera:encryption_keys]] ===== modbin + openssl =====