diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-06-10 21:14:54 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-06-10 21:14:54 +0700 |
commit | b8b7617bad7608602b1940fc3911b2b93c69d7f4 (patch) | |
tree | 0423d55bbc234da3836710083000d86d3906ef6f /crypto | |
parent | Misc. asn1 changes from Java API (diff) | |
download | BouncyCastle.NET-ed25519-b8b7617bad7608602b1940fc3911b2b93c69d7f4.tar.xz |
Update CHACHA20_POLY1305 out of draft range
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/tls/EncryptionAlgorithm.cs | 5 |
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 |