mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Update p2p/conn/secret_connection.go
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
This commit is contained in:
@@ -125,7 +125,7 @@ func MakeSecretConnection(conn io.ReadWriteCloser, locPrivKey crypto.PrivKey) (*
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// generate the secret used for receiving, sending, challenge via HKDF-SHA2
|
||||
// generate the secret used for receiving, sending, challenge via HKDF-SHA2
|
||||
// on the transcript state (which itself also uses HKDF-SHA2 to derive a key from the dhSecret)
|
||||
recvSecret, sendSecret, challenge := deriveSecretAndChallenge(hdkf_state, locIsLeast)
|
||||
|
||||
|
Reference in New Issue
Block a user