SSLC:ContextInitSharedmem

SSLC:ContextInitSharedmem

Request #

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

Response #

Index WordDescription
0Header code
1Result 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 encrypted alert is thrown by SSL-module, when the user-process *only* cleared the sharedmem to all-zeros.