Difference between revisions of "SPL services"
From Nintendo Switch Brew
(→GetDevunitFlag) |
|||
| Line 17: | Line 17: | ||
|- | |- | ||
| 11 || [[#GetDevunitFlag]] || | | 11 || [[#GetDevunitFlag]] || | ||
| + | |- | ||
| + | | 13 || || | ||
|} | |} | ||
| Line 38: | Line 40: | ||
Returns an u8 flag for whether the system is devunit it seems. Output flag is 0 on retail. | Returns an u8 flag for whether the system is devunit it seems. Output flag is 0 on retail. | ||
| + | |||
| + | == Cmd13 == | ||
| + | This command hasn't been used successfully so far, throws the same SPL error all the time(besides IPC fail that's not SPL specific). | ||
| + | |||
| + | Last SPL cmd used by [[SSL_services|SSL]]-sysmodule for TLS client-privk. | ||
Revision as of 19:52, 27 June 2017
spl:
| Cmd | Name | Notes |
|---|---|---|
| 0 | ||
| 1 | Unknown marshalling. | |
| 2 | #ScrambleKeyA | |
| 3 | Always returns 0x2D1A? | |
| 4 | #ScrambleKeyB | |
| 5 | Always returns 0x41A? | |
| 11 | #GetDevunitFlag | |
| 13 |
Cmd0
Takes input word, and returns u64.
- Input val8: 64bit DeviceId with byte7 clear. Output from this when used by NIM must match the set:cal DeviceId with byte7 cleared, otherwise NIM will panic.
ScrambleKeyA
Takes 16-bytes as input and two u32s. Outputs random-looking 16-bytes.
Same input gives same output. Console unique.
ScrambleKeyB
Behaves similar to #ScrambleKeyA, but with different output.
Also console unique. This is not the inverse operation of #ScrambleKeyA.
GetDevunitFlag
No input params.
Returns an u8 flag for whether the system is devunit it seems. Output flag is 0 on retail.
Cmd13
This command hasn't been used successfully so far, throws the same SPL error all the time(besides IPC fail that's not SPL specific).
Last SPL cmd used by SSL-sysmodule for TLS client-privk.