Allow ChaCha20-Poly1305 in DTLS
authortjmao <tjmao@github.com>
Fri, 11 Dec 2015 19:48:09 +0000 (14:48 -0500)
committerRich Salz <rsalz@openssl.org>
Sun, 13 Dec 2015 00:30:16 +0000 (19:30 -0500)
commit3e166c136ed161cd0edb83ba15121582c6913692
tree394d88f261d0fd766f2af25696b62ae9e3fced9f
parent5320c071935ac7b52ed30ba66492da9549ad1c05
Allow ChaCha20-Poly1305 in DTLS

GCM and CCM are modes of operation for block ciphers only. ChaCha20-Poly1305
operates in neither of them but it is AEAD. This change also enables future
AEAD ciphers to be available for use with DTLS.

Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/statem/statem_dtls.c