This commit is contained in:
Wade Simmons
2026-06-09 10:30:51 -04:00
parent 7cd3875934
commit 06fb503fc3
8 changed files with 61 additions and 35 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func NewCipherState(s *noise.CipherState, cipherFunc noise.CipherFunc) CipherSta
return cs
}
switch cipherFunc.CipherName() {
case CipherAESGCM.CipherName():
case noise.CipherAESGCM.CipherName():
return NewCipherStateAESGCM(s)
case noise.CipherChaChaPoly.CipherName():
return NewCipherStateChaChaPoly(s)