Editing Certified File

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 34: Line 34:
};
};
} __attribute__((packed)) cf_header;
} __attribute__((packed)) cf_header;
</syntaxhighlight>
</source>


{| class="wikitable"
{| class="wikitable"
Line 93: Line 93:
uint8_t iv_pad[16];
uint8_t iv_pad[16];
} __attribute__((packed)) cf_encryption_root_header;
} __attribute__((packed)) cf_encryption_root_header;
</syntaxhighlight>
</source>


=== Comments ===
=== Comments ===
Line 116: Line 116:
uint64_t pad;
uint64_t pad;
} __attribute__((packed)) cf_certification_header;
} __attribute__((packed)) cf_certification_header;
</syntaxhighlight>
</source>


=== Comments ===
=== Comments ===
Line 151: Line 151:
uint32_t comp_algorithm;    // 1 = plain, 2 = zlib
uint32_t comp_algorithm;    // 1 = plain, 2 = zlib
} __attribute__((packed)) cf_segment_certification_header;
} __attribute__((packed)) cf_segment_certification_header;
</syntaxhighlight>
</source>


==== Comments ====
==== Comments ====
Line 186: Line 186:
} encryption_params; // present for enc_algorithm type 2 and 3
} encryption_params; // present for enc_algorithm type 2 and 3
} __attribute__((packed)) cf_attribute;
} __attribute__((packed)) cf_attribute;
</syntaxhighlight>
</source>


==== Comments ====
==== Comments ====
Line 220: Line 220:
};
};
} __attribute__((packed)) cf_optional_header;
} __attribute__((packed)) cf_optional_header;
</syntaxhighlight>
</source>


==== Comments ====
==== Comments ====
Line 249: Line 249:
} RSA2048;
} RSA2048;
} __attribute__((packed)) cf_signature;
} __attribute__((packed)) cf_signature;
</syntaxhighlight>
</source>


=== Comments ===
=== Comments ===
Line 363: Line 363:
000004C0  11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11  ................  <<< Signature (RSA2048)
000004C0  11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11  ................  <<< Signature (RSA2048)
000004D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................  <<< Certification Body end, padding
000004D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................  <<< Certification Body end, padding
</syntaxhighlight>
</source>


Following the same principles, a plain SPKG Certification Body looks like this:  
Following the same principles, a plain SPKG Certification Body looks like this:  
Line 409: Line 409:
00000260  11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11  ................  <<< Signature (RSA2048)
00000260  11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11  ................  <<< Signature (RSA2048)
00000270  11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11  ................  <<< Signature (RSA2048)
00000270  11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11  ................  <<< Signature (RSA2048)
</syntaxhighlight>
</source>


* Step 4: Decrypt CF segments if needed
* Step 4: Decrypt CF segments if needed
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)