Skip to content

Commit

Permalink
schannel: support CALG_ECDH_EPHEM algorithm
Browse files Browse the repository at this point in the history
Add support for Ephemeral elliptic curve Diffie-Hellman key exchange
algorithm option when selecting ciphers. This became available on the
Win10 SDK.

Closes #3608
  • Loading branch information
georgeok authored and jay committed Feb 25, 2019
1 parent aa7b813 commit 531b7ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/CIPHERS.md
Expand Up @@ -496,3 +496,4 @@ WinSSL allows the enabling and disabling of encryption algorithms, but not speci
`CALG_ECDH`,
`CALG_ECMQV`,
`CALG_ECDSA`,
`CALG_ECDH_EPHEM`,
3 changes: 3 additions & 0 deletions lib/vtls/schannel.c
Expand Up @@ -323,6 +323,9 @@ get_alg_id_by_name(char *name)
#endif
#ifdef CALG_ECDSA
CIPHEROPTION(CALG_ECDSA);
#endif
#ifdef CALG_ECDH_EPHEM
CIPHEROPTION(CALG_ECDH_EPHEM);
#endif
return 0;
}
Expand Down

0 comments on commit 531b7ad

Please sign in to comment.