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...")
 
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 alert is thrown by SSL-module, when the user-process *only* cleared the sharedmem to all-zeros.

Revision as of 22:55, 30 March 2016

Request

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

Index Word Description
0 Header code
1 Result code

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.

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