Skip to content

Commit

Permalink
Removed AEAD_AES_192_GCM cipher
Browse files Browse the repository at this point in the history
Nobody ever uses it, and cipher variety sucks.
  • Loading branch information
riobard committed Jan 31, 2020
1 parent 580a199 commit 9ede1e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/cipher.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var aeadList = map[string]struct {
New func([]byte) (shadowaead.Cipher, error)
}{
"AEAD_AES_128_GCM": {16, shadowaead.AESGCM},
"AEAD_AES_192_GCM": {24, shadowaead.AESGCM},
"AEAD_AES_256_GCM": {32, shadowaead.AESGCM},
"AEAD_CHACHA20_POLY1305": {32, shadowaead.Chacha20Poly1305},
}
Expand All @@ -58,8 +57,6 @@ func PickCipher(name string, key []byte, password string) (Cipher, error) {
name = "AEAD_CHACHA20_POLY1305"
case "AES-128-GCM":
name = "AEAD_AES_128_GCM"
case "AES-196-GCM":
name = "AEAD_AES_196_GCM"
case "AES-256-GCM":
name = "AEAD_AES_256_GCM"
}
Expand Down

0 comments on commit 9ede1e2

Please sign in to comment.