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-secio
Commits
47fb36ea
Commit
47fb36ea
authored
Dec 06, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
35f51fc4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
al.go
al.go
+1
-1
interface.go
interface.go
+2
-2
pb/spipe.pb.go
pb/spipe.pb.go
+1
-1
protocol.go
protocol.go
+4
-4
rw.go
rw.go
+4
-4
No files found.
al.go
View file @
47fb36ea
...
...
@@ -14,7 +14,7 @@ import (
"hash"
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
bfish
"g
x/QmYuvLUCBYFK656JmhuWc4wGpuCgE1wpt4E4wcL2y9ej6R/go-
crypto/blowfish"
bfish
"g
olang.org/x/
crypto/blowfish"
)
// List of supported ECDH curves
...
...
interface.go
View file @
47fb36ea
...
...
@@ -7,8 +7,8 @@ import (
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
msgio
"g
x/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr
/go-msgio"
context
"g
x/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUc
t/context"
msgio
"g
ithub.com/jbenet
/go-msgio"
context
"g
olang.org/x/ne
t/context"
)
// SessionGenerator constructs secure communication sessions for a peer.
...
...
pb/spipe.pb.go
View file @
47fb36ea
...
...
@@ -14,7 +14,7 @@ It has these top-level messages:
*/
package
spipe_pb
import
proto
"g
x/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR
/gogo
-
protobuf/proto"
import
proto
"g
ithub.com
/gogo
/
protobuf/proto"
import
math
"math"
// Reference imports to suppress errors if they are not otherwise used.
...
...
protocol.go
View file @
47fb36ea
...
...
@@ -9,13 +9,13 @@ import (
"sync"
"time"
u
"github.com/ipfs/go-ipfs-util"
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
pb
"github.com/ipfs/go-libp2p/p2p/crypto/secio/pb"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
u
"gx/QmQA79FfVsUnGkH3TgKDqcDkupfjqLSJ6EYwDuDDZK8nhD/go-ipfs-util"
msgio
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr/go-msgio"
context
"gx/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
logging
"gx/QmfZZB1aVXWA4kaR5R4e9NifERT366TTCSagkfhmAbYLsu/go-log"
logging
"github.com/ipfs/go-log"
msgio
"github.com/jbenet/go-msgio"
context
"golang.org/x/net/context"
)
var
log
=
logging
.
Logger
(
"secio"
)
...
...
rw.go
View file @
47fb36ea
...
...
@@ -9,10 +9,10 @@ import (
"crypto/hmac"
msgio
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr/go-msgi
o"
m
pool
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr
/go-msgio
/mpool
"
context
"gx/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context
"
proto
"gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto
"
proto
"github.com/gogo/protobuf/prot
o"
m
sgio
"github.com/jbenet
/go-msgio"
mpool
"github.com/jbenet/go-msgio/mpool
"
context
"golang.org/x/net/context
"
)
const
MaxMsgSize
=
8
*
1024
*
1024
...
...
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