mirror of https://github.com/v2ray/v2ray-core
rollback shadowsocks iv change
parent
310474d592
commit
1bf247da55
|
@ -74,7 +74,7 @@ func (v *AesCfb) KeySize() int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *AesCfb) IVSize() int {
|
func (v *AesCfb) IVSize() int {
|
||||||
return v.KeyBytes
|
return 16
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *AesCfb) NewEncodingStream(key []byte, iv []byte) (cipher.Stream, error) {
|
func (v *AesCfb) NewEncodingStream(key []byte, iv []byte) (cipher.Stream, error) {
|
||||||
|
|
Loading…
Reference in New Issue