Difference between revisions of "SSL Services"

From 3dbrew
Jump to navigation Jump to search
Line 15: Line 15:
 
| [[SSLC:CreateContext|CreateContext]]
 
| [[SSLC:CreateContext|CreateContext]]
 
|-
 
|-
| 0x0003....
+
| 0x00030000
 
|  
 
|  
| ?
+
| This writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x0004....
+
| 0x00040040
 
|  
 
|  
| ?
+
| (u32 inval)
 
|-
 
|-
 
| 0x00050082
 
| 0x00050082
Line 27: Line 27:
 
| [[SSLC:AddTrustedRootCA|AddTrustedRootCA]]
 
| [[SSLC:AddTrustedRootCA|AddTrustedRootCA]]
 
|-
 
|-
| 0x0006....
+
| 0x00060080
 
|  
 
|  
| ?
+
| (u32 inval, u8 inval2) Writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x0007....
+
| 0x00070080
 
|  
 
|  
| ?
+
| (u32 inval, u32 inval2)
 
|-
 
|-
| 0x0008....
+
| 0x00080000
 
|  
 
|  
| ?
+
| This writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x0009....
+
| 0x00090040
 
|  
 
|  
| ?
+
| (u32 inval)
 
|-
 
|-
| 0x000A....
+
| 0x000A0082
 
|  
 
|  
| ?
+
| (u32 inval, u32 size, ((Size<<4)  <nowiki>|</nowiki> 10), bufptr) Writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x000B....
+
| 0x000B0080
 
|  
 
|  
| ?
+
| (u32 inval, u8 inval2) Writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x000C....
+
| 0x000C0080
 
|  
 
|  
| ?
+
| (u32 inval, u32 inval2)
 
|-
 
|-
| 0x000D....
+
| 0x000D0084
 
|  
 
|  
| ?
+
| (u32 size0, u32 size1, ((Size0<<4)  <nowiki>|</nowiki> 10), bufptr0, ((Size1<<4)  <nowiki>|</nowiki> 10), bufptr1) Writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x000E....
+
| 0x000E0040
 
|  
 
|  
| ?
+
| (u8 inval) Writes an output u32 to cmdreply[2].
 
|-
 
|-
| 0x000F....
+
| 0x000F0040
 
|  
 
|  
| ?
+
| (u32 inval)
 
|-
 
|-
| 0x0010....
+
| 0x00100000
 
|  
 
|  
 
| ?
 
| ?

Revision as of 21:42, 3 July 2015

SSL service "ssl:C"

Command Header Available since system-version Description
0x00010002
0x000200C2 CreateContext
0x00030000 This writes an output u32 to cmdreply[2].
0x00040040 (u32 inval)
0x00050082 AddTrustedRootCA
0x00060080 (u32 inval, u8 inval2) Writes an output u32 to cmdreply[2].
0x00070080 (u32 inval, u32 inval2)
0x00080000 This writes an output u32 to cmdreply[2].
0x00090040 (u32 inval)
0x000A0082 (u32 inval, u32 size, ((Size<<4) | 10), bufptr) Writes an output u32 to cmdreply[2].
0x000B0080 (u32 inval, u8 inval2) Writes an output u32 to cmdreply[2].
0x000C0080 (u32 inval, u32 inval2)
0x000D0084 (u32 size0, u32 size1, ((Size0<<4) | 10), bufptr0, ((Size1<<4) | 10), bufptr1) Writes an output u32 to cmdreply[2].
0x000E0040 (u8 inval) Writes an output u32 to cmdreply[2].
0x000F0040 (u32 inval)
0x00100000 ?
0x00110042
0x0012.... ?
0x0013.... ?
0x0014.... ?
0x00150082 Read
0x0016.... ?
0x00170082 Write
0x0018.... ?
0x0019.... ?
0x001A.... ?
0x001B.... ?
0x001C.... ?
0x001D.... ?
0x001E.... ?
0x001F.... ?
0x0020.... ?

Going by strings in the SSL sysmodule it appears the sysmodule uses RSA BSAFE(like certain other 3DS software), this is also likely where the "ssl:C" name comes from(RSA BSAFE "SSL-C").