Changes needed to make tris a separated lib

This commit is contained in:
Henry Case 2019-04-05 11:28:54 +01:00
parent af21f3083c
commit 7bbaf23cda
6 changed files with 8 additions and 8 deletions

6
13.go
View File

@ -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

View File

@ -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"

View File

@ -1,11 +1,11 @@
package main
import (
"crypto/tls"
"crypto/x509"
"errors"
"flag"
"fmt"
"github.com/henrydcase/trs"
"io"
"log"
"os"

View File

@ -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

View File

@ -12,7 +12,7 @@ import (
"crypto/x509"
"errors"
"fmt"
"internal/cpu"
"golang.org/x/sys/cpu"
"io"
"math/big"
"net"

View File

@ -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")