Added ChaCha20+Poly1305 support (stand-alone, cipher suites).
This commit is contained in:
parent
9e71c0673a
commit
b42bd5972f
26 changed files with 1952 additions and 523 deletions
|
|
@ -46,6 +46,18 @@ const hash_function hash_functions[] = {
|
|||
|
||||
/* see brssl.h */
|
||||
const cipher_suite cipher_suites[] = {
|
||||
{
|
||||
"ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
|
||||
BR_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,
|
||||
REQ_ECDHE_ECDSA | REQ_CHAPOL | REQ_SHA256 | REQ_TLS12,
|
||||
"ECDHE with ECDSA, ChaCha20+Poly1305 encryption (TLS 1.2+)"
|
||||
},
|
||||
{
|
||||
"ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
||||
BR_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
|
||||
REQ_ECDHE_RSA | REQ_CHAPOL | REQ_SHA256 | REQ_TLS12,
|
||||
"ECDHE with ECDSA, ChaCha20+Poly1305 encryption (TLS 1.2+)"
|
||||
},
|
||||
{
|
||||
"ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||
BR_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue