diff options
author | Andreas Schultz <[email protected]> | 2013-05-14 18:39:23 +0200 |
---|---|---|
committer | Andreas Schultz <[email protected]> | 2017-07-21 17:34:34 +0200 |
commit | 7c79233caa18a93952c2caa6ffc2ebca51707a41 (patch) | |
tree | 398400d865e0209bf171b7316f9d912b300f5da5 /lib/ssl/src/ssl_handshake.hrl | |
parent | 9214be49bc81a4f9ce9def091f60df8670547a88 (diff) | |
download | otp-7c79233caa18a93952c2caa6ffc2ebca51707a41.tar.gz otp-7c79233caa18a93952c2caa6ffc2ebca51707a41.tar.bz2 otp-7c79233caa18a93952c2caa6ffc2ebca51707a41.zip |
ssl: add ECDHE_PSK cipher suites
Diffstat (limited to 'lib/ssl/src/ssl_handshake.hrl')
-rw-r--r-- | lib/ssl/src/ssl_handshake.hrl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_handshake.hrl b/lib/ssl/src/ssl_handshake.hrl index 324b7dbde3..a191fcf766 100644 --- a/lib/ssl/src/ssl_handshake.hrl +++ b/lib/ssl/src/ssl_handshake.hrl @@ -133,6 +133,7 @@ -define(KEY_EXCHANGE_DIFFIE_HELLMAN, 1). -define(KEY_EXCHANGE_EC_DIFFIE_HELLMAN, 6). -define(KEY_EXCHANGE_PSK, 2). +-define(KEY_EXCHANGE_EC_DIFFIE_HELLMAN_PSK, 7). -define(KEY_EXCHANGE_DHE_PSK, 3). -define(KEY_EXCHANGE_RSA_PSK, 4). -define(KEY_EXCHANGE_SRP, 5). @@ -162,6 +163,11 @@ dh_params }). +-record(server_ecdhe_psk_params, { + hint, + dh_params + }). + -record(server_srp_params, { srp_n, %% opaque srp_N<1..2^16-1> srp_g, %% opaque srp_g<1..2^16-1> @@ -254,6 +260,11 @@ dh_public }). +-record(client_ecdhe_psk_identity, { + identity, + dh_public + }). + -record(client_rsa_psk_identity, { identity, exchange_keys |