Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-14 07:00:12 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-14 07:00:12 +0400
commit24dada944ea60faf2a564f39a728411f5e95e28e (patch)
treefb54c3f73a5b8ce16b5211a895c0ba6b320ff4df /core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
parent812673be922b296aaef9f8a5d40b9ae66c0602e3 (diff)
Add initial constants and lookups for draft-agl-tls-chacha20poly1305-04
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
index 8b2b0f8f..9cbe0032 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
@@ -253,6 +253,12 @@ public class TlsECCUtils
case CipherSuite.TLS_ECDHE_PSK_WITH_RC4_128_SHA:
/*
+ * draft-agl-tls-chacha20poly1305-04
+ */
+ case CipherSuite.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:
+ case CipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:
+
+ /*
* draft-josefsson-salsa20-tls-04
*/
case CipherSuite.TLS_ECDHE_ECDSA_WITH_ESTREAM_SALSA20_SHA1: