git » chasquid » commit 9fbd1fe

tlsconst: Update list of ciphers

author Alberto Bertogli
2020-04-12 10:23:35 UTC
committer Alberto Bertogli
2020-04-12 10:25:27 UTC
parent 6815cf1d5c3d84428a4843b6555e5e03bd923223

tlsconst: Update list of ciphers

This patch updates the list of ciphers in tlsconst, using the latest
list from IANA.

internal/tlsconst/ciphers.go +4 -0

diff --git a/internal/tlsconst/ciphers.go b/internal/tlsconst/ciphers.go
index 32a910d..d25498a 100644
--- a/internal/tlsconst/ciphers.go
+++ b/internal/tlsconst/ciphers.go
@@ -340,6 +340,10 @@ var cipherSuiteName = map[uint16]string{
 	0xc100: "TLS_GOSTR341112_256_WITH_KUZNYECHIK_CTR_OMAC",
 	0xc101: "TLS_GOSTR341112_256_WITH_MAGMA_CTR_OMAC",
 	0xc102: "TLS_GOSTR341112_256_WITH_28147_CNT_IMIT",
+	0xc103: "TLS_GOSTR341112_256_WITH_KUZNYECHIK_MGM_L",
+	0xc104: "TLS_GOSTR341112_256_WITH_MAGMA_MGM_L",
+	0xc105: "TLS_GOSTR341112_256_WITH_KUZNYECHIK_MGM_S",
+	0xc106: "TLS_GOSTR341112_256_WITH_MAGMA_MGM_S",
 	0xcca8: "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
 	0xcca9: "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
 	0xccaa: "TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256",