[#SSL_export_keying_material] = SSL_export_keying_material :mrdocs: Export keying material derived from the connection's exporter secret. == Synopsis Declared in `<openssl/tls1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_export_keying_material( xref:SSL.adoc[SSL]* s, unsigned char* out, size_t olen, char const* label, size_t llen, unsigned char const* context, size_t contextlen, int use_context); ---- == Return Value 1 on success, or 0 or ‐1 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection to export from. | *out* | Buffer that receives `olen` bytes of keying material. | *olen* | Number of bytes to write to `out.` | *label* | Application‐specific label. | *llen* | Length of `label` in bytes. | *context* | Optional application context bytes. | *contextlen* | Length of `context` in bytes. | *use_context* | Nonzero to include `context;` zero to omit it. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#