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
35f51fc4
Commit
35f51fc4
authored
Nov 18, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate to gx namespace
parent
c94f52a0
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 @
35f51fc4
...
...
@@ -13,8 +13,8 @@ import (
"crypto/sha512"
"hash"
bfish
"golang.org/x/crypto/blowfish"
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
bfish
"gx/QmYuvLUCBYFK656JmhuWc4wGpuCgE1wpt4E4wcL2y9ej6R/go-crypto/blowfish"
)
// List of supported ECDH curves
...
...
interface.go
View file @
35f51fc4
...
...
@@ -6,9 +6,9 @@ import (
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
context
"QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
msgio
"github.com/jbenet/go-msgio"
msgio
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr/go-msgio"
context
"gx/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
)
// SessionGenerator constructs secure communication sessions for a peer.
...
...
pb/spipe.pb.go
View file @
35f51fc4
...
...
@@ -14,7 +14,7 @@ It has these top-level messages:
*/
package
spipe_pb
import
proto
"
QmfH4HuZyN1p2wQLWWkXC91Z76435xKrBVfLQ2MY8ayG5
R/gogo-protobuf/proto"
import
proto
"
gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65q
R/gogo-protobuf/proto"
import
math
"math"
// Reference imports to suppress errors if they are not otherwise used.
...
...
protocol.go
View file @
35f51fc4
...
...
@@ -9,13 +9,13 @@ import (
"sync"
"time"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
context
"QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
u
"Qmah3kfjwhVxBM4qGnrqJTqGzrF8svwByyhExPipA2U6LE/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
"github.com/jbenet/go-msgio"
u
"gx/QmQA79FfVsUnGkH3TgKDqcDkupfjqLSJ6EYwDuDDZK8nhD/go-ipfs-util"
msgio
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr/go-msgio"
context
"gx/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
logging
"gx/QmfZZB1aVXWA4kaR5R4e9NifERT366TTCSagkfhmAbYLsu/go-log"
)
var
log
=
logging
.
Logger
(
"secio"
)
...
...
rw.go
View file @
35f51fc4
...
...
@@ -9,10 +9,10 @@ import (
"crypto/hmac"
context
"QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context
"
proto
"QmfH4HuZyN1p2wQLWWkXC91Z76435xKrBVfLQ2MY8ayG5R/gogo-protobuf/proto
"
msgio
"github.com/jbenet/go-msgio
"
mpool
"github.com/jbenet/go-msgio/mpool
"
msgio
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr/go-msgio
"
mpool
"gx/QmXMkWRYvXJ2NTzHMEz5794997kNPGsVX8EhFiXXpoKDZr/go-msgio/mpool
"
context
"gx/QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context
"
proto
"gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto
"
)
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