Difference between revisions of "SSLC:ContextInitSharedmem"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001F0082] |- | 1 | SSL context handle |- | 2 | u32 siz...")
 
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
 
=Description=
 
=Description=
 
This maps the specified sharedmem, and writes the mapped vaddr + size into state. The sharedmem is not used for *anything* else by this command.
 
This maps the specified sharedmem, and writes the mapped vaddr + size into state. The sharedmem is not used for *anything* else by this command.
 +
 +
While starting the TLS connection, the entire server cert is written to sharedmem+0. Later a network TLS encrypted alert is thrown by SSL-module, when the user-process *only* cleared the sharedmem to all-zeros.

Latest revision as of 21:56, 30 March 2016

Request[edit]

Index Word Description
0 Header code [0x001F0082]
1 SSL context handle
2 u32 size
3 Value 0x0, translate-header for handle transfer.
4 Sharedmem handle.

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This maps the specified sharedmem, and writes the mapped vaddr + size into state. The sharedmem is not used for *anything* else by this command.

While starting the TLS connection, the entire server cert is written to sharedmem+0. Later a network TLS encrypted alert is thrown by SSL-module, when the user-process *only* cleared the sharedmem to all-zeros.