Changes needed to make tris a separated lib
This commit is contained in:
parent
af21f3083c
commit
7bbaf23cda
6
13.go
6
13.go
@ -21,9 +21,9 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
sidh "github_com/cloudflare/sidh/sidh"
|
||||
sike "github_com/cloudflare/sidh/sike"
|
||||
"golang_org/x/crypto/curve25519"
|
||||
sidh "github.com/cloudflare/sidh/sidh"
|
||||
sike "github.com/cloudflare/sidh/sike"
|
||||
"golang.org/x/crypto/curve25519"
|
||||
)
|
||||
|
||||
// numSessionTickets is the number of different session tickets the
|
||||
|
@ -1,12 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"crypto/x509"
|
||||
"encoding/hex"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/henrydcase/trs"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"net/http"
|
||||
|
@ -1,11 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"crypto/x509"
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/henrydcase/trs"
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
|
@ -15,7 +15,7 @@ import (
|
||||
"crypto/sha256"
|
||||
"hash"
|
||||
|
||||
"golang_org/x/crypto/chacha20poly1305"
|
||||
"golang.org/x/crypto/chacha20poly1305"
|
||||
)
|
||||
|
||||
// a keyAgreement implements the client and server side of a TLS key agreement
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
"crypto/x509"
|
||||
"errors"
|
||||
"fmt"
|
||||
"internal/cpu"
|
||||
"golang.org/x/sys/cpu"
|
||||
"io"
|
||||
"math/big"
|
||||
"net"
|
||||
|
@ -14,7 +14,7 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"golang_org/x/crypto/curve25519"
|
||||
"golang.org/x/crypto/curve25519"
|
||||
)
|
||||
|
||||
var errClientKeyExchange = errors.New("tls: invalid ClientKeyExchange message")
|
||||
|
Loading…
Reference in New Issue
Block a user