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
9c9bd2eb
Commit
9c9bd2eb
authored
Apr 15, 2016
by
Lars Gierth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo import path rewrites
parent
62b0a5c2
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 @
9c9bd2eb
...
...
@@ -14,7 +14,7 @@ import (
"hash"
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
bfish
"g
x/ipfs/Qme1boxspcQWR8FBzMxeppqug2fYgYc15diNWmqgDVnvn2/go-
crypto/blowfish"
bfish
"g
olang.org/x/
crypto/blowfish"
)
// List of supported ECDH curves
...
...
interface.go
View file @
9c9bd2eb
...
...
@@ -7,8 +7,8 @@ import (
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
msgio
"g
x/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL
/go-msgio"
context
"g
x/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-
net/context"
msgio
"g
ithub.com/jbenet
/go-msgio"
context
"g
olang.org/x/
net/context"
)
// SessionGenerator constructs secure communication sessions for a peer.
...
...
pb/spipe.pb.go
View file @
9c9bd2eb
...
...
@@ -14,7 +14,7 @@ It has these top-level messages:
*/
package
spipe_pb
import
proto
"g
x/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV
/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 @
9c9bd2eb
...
...
@@ -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"
msgio
"gx/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL/go-msgio"
u
"gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
logging
"gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/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 @
9c9bd2eb
...
...
@@ -9,10 +9,10 @@ import (
"crypto/hmac"
msgio
"gx/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL/go-msgi
o"
m
pool
"gx/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL
/go-msgio
/mpool
"
proto
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto
"
context
"g
x/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-
net/context"
proto
"github.com/gogo/protobuf/prot
o"
m
sgio
"github.com/jbenet
/go-msgio"
mpool
"github.com/jbenet/go-msgio/mpool
"
context
"g
olang.org/x/
net/context"
)
// ErrMACInvalid signals that a MAC verification failed
...
...
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