1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-04 00:05:21 -05:00

Apply Coding Style

This commit is contained in:
Shelikhoo
2020-06-08 13:21:59 +08:00
parent a58b20b5b8
commit 8c886b4b46
6 changed files with 109 additions and 89 deletions

View File

@@ -9,7 +9,7 @@ import (
func KDF(key []byte, path ...string) []byte {
hmacf := hmac.New(func() hash.Hash {
return sha256.New()
}, []byte("VMess AEAD KDF"))
}, []byte(KDFSaltConst_VMessAEADKDF))
for _, v := range path {
hmacf = hmac.New(func() hash.Hash {