summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-06-10 21:14:54 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-06-10 21:14:54 +0700
commitb8b7617bad7608602b1940fc3911b2b93c69d7f4 (patch)
tree0423d55bbc234da3836710083000d86d3906ef6f /crypto
parentMisc. asn1 changes from Java API (diff)
downloadBouncyCastle.NET-ed25519-b8b7617bad7608602b1940fc3911b2b93c69d7f4.tar.xz
Update CHACHA20_POLY1305 out of draft range
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/crypto/tls/EncryptionAlgorithm.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/src/crypto/tls/EncryptionAlgorithm.cs b/crypto/src/crypto/tls/EncryptionAlgorithm.cs
index 96037ed20..45eef18e3 100644
--- a/crypto/src/crypto/tls/EncryptionAlgorithm.cs
+++ b/crypto/src/crypto/tls/EncryptionAlgorithm.cs
@@ -56,10 +56,9 @@ namespace Org.BouncyCastle.Crypto.Tls
         public const int CAMELLIA_256_GCM = 20;
 
         /*
-         * draft-ietf-tls-chacha20-poly1305-04
+         * RFC 7905
          */
-        public const int CHACHA20_POLY1305 = 102;
-        [Obsolete] public const int AEAD_CHACHA20_POLY1305 = CHACHA20_POLY1305;
+        public const int CHACHA20_POLY1305 = 21;
 
         /*
          * draft-zauner-tls-aes-ocb-04