mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
pkg/cryptstate: add XSalsa20-Poly1305 to the SupportedModes list.
This commit is contained in:
parent
cbe2ffea3d
commit
5d9df8383a
1 changed files with 4 additions and 1 deletions
|
|
@ -45,7 +45,10 @@ type CryptState struct {
|
||||||
|
|
||||||
// SupportedModes returns the list of supported CryptoModes.
|
// SupportedModes returns the list of supported CryptoModes.
|
||||||
func SupportedModes() []string {
|
func SupportedModes() []string {
|
||||||
return []string{"OCB2-AES128"}
|
return []string{
|
||||||
|
"OCB2-AES128",
|
||||||
|
"XSalsa20-Poly1305",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// createMode creates the CryptoMode with the given mode name.
|
// createMode creates the CryptoMode with the given mode name.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue