Filesystem services: Difference between revisions

Line 40: Line 40:
Seems to sets a global flag to inputval & 1.
Seems to sets a global flag to inputval & 1.


When the flag is zero, it will set ret=0 instead of ret={error} when verifying a RSA signature fails. This RSA signature seems to be the signature in the [[NPDM]] ACID. It then skips verifying what seems to be the second signature in the [[NCA_Format|NCA header]]. Note that if verifying the NPDM(?) signature is successful, and verifying that second signature fails, it will throw an error and abort.
When the flag is zero, it will set ret=0 instead of ret={error} when verifying the fixed-key [[NCA_Format|#NCA]] header signature fails. This also skips verifying the signature in the [[NPDM]] ACID. Note that if verifying the fixed-key signature is successful, and verifying the ACID signature fails, it will throw an error and abort.


= fsp-srv =
= fsp-srv =