Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-core
Commits
bc01c84a
Commit
bc01c84a
authored
Jul 10, 2019
by
Cole Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove support for blowfish
parent
2835a401
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
crypto/key.go
crypto/key.go
+0
-4
No files found.
crypto/key.go
View file @
bc01c84a
...
@@ -191,10 +191,6 @@ func KeyStretcher(cipherType string, hashType string, secret []byte) (StretchedK
...
@@ -191,10 +191,6 @@ func KeyStretcher(cipherType string, hashType string, secret []byte) (StretchedK
case
"AES-256"
:
case
"AES-256"
:
ivSize
=
16
ivSize
=
16
cipherKeySize
=
32
cipherKeySize
=
32
case
"Blowfish"
:
ivSize
=
8
// Note: cypherKeySize arbitrarily selected, needs more thought
cipherKeySize
=
32
}
}
hmacKeySize
:=
20
hmacKeySize
:=
20
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment