diff options
author | Ben Laurie <ben@openssl.org> | 2011-11-15 23:51:22 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2011-11-15 23:51:22 +0000 |
commit | b1d7429186658934e4ca8b7913c3640ef4426e45 (patch) | |
tree | baa81aec5fc88283adf9389c7903eab77772dddc /ssl/ssl_locl.h | |
parent | 060a38a2c06145df02d04af20e31bacf30f192e2 (diff) |
Add TLS exporter.
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 4d6ffd9f39..48ee110d5f 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -571,6 +571,10 @@ typedef struct ssl3_enc_method const char *server_finished_label; int server_finished_label_len; int (*alert_value)(int); + int (*export_keying_material)(SSL *, unsigned char *, unsigned int, + const char *, unsigned int, + const unsigned char *, unsigned int, + int use_context); } SSL3_ENC_METHOD; #ifndef OPENSSL_NO_COMP @@ -1057,6 +1061,9 @@ int tls1_cert_verify_mac(SSL *s, int md_nid, unsigned char *p); int tls1_mac(SSL *ssl, unsigned char *md, int snd); int tls1_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, int len); +int tls1_export_keying_material(SSL *s, unsigned char *out, unsigned int olen, + const char *label, unsigned int llen, const unsigned char *p, + unsigned int plen, int use_context); int tls1_alert_code(int code); int ssl3_alert_code(int code); int ssl_ok(SSL *s); |