aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/tls/cipher_suites.go2
-rw-r--r--src/crypto/tls/handshake_messages.go2
-rw-r--r--src/crypto/tls/key_schedule.go6
-rw-r--r--src/crypto/tls/ticket.go2
-rw-r--r--src/crypto/x509/x509.go4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/crypto/tls/cipher_suites.go b/src/crypto/tls/cipher_suites.go
index ecb4db290a..7431ac0435 100644
--- a/src/crypto/tls/cipher_suites.go
+++ b/src/crypto/tls/cipher_suites.go
@@ -14,8 +14,8 @@ import (
"crypto/sha1"
"crypto/sha256"
"crypto/x509"
+ "golang.org/x/crypto/chacha20poly1305"
"hash"
- "internal/x/crypto/chacha20poly1305"
)
// a keyAgreement implements the client and server side of a TLS key agreement
diff --git a/src/crypto/tls/handshake_messages.go b/src/crypto/tls/handshake_messages.go
index c0e049b16f..864fbd4757 100644
--- a/src/crypto/tls/handshake_messages.go
+++ b/src/crypto/tls/handshake_messages.go
@@ -6,7 +6,7 @@ package tls
import (
"fmt"
- "internal/x/crypto/cryptobyte"
+ "golang.org/x/crypto/cryptobyte"
"strings"
)
diff --git a/src/crypto/tls/key_schedule.go b/src/crypto/tls/key_schedule.go
index 2cfc226d7f..3cd6e8297a 100644
--- a/src/crypto/tls/key_schedule.go
+++ b/src/crypto/tls/key_schedule.go
@@ -8,10 +8,10 @@ import (
"crypto/elliptic"
"crypto/hmac"
"errors"
+ "golang.org/x/crypto/cryptobyte"
+ "golang.org/x/crypto/curve25519"
+ "golang.org/x/crypto/hkdf"
"hash"
- "internal/x/crypto/cryptobyte"
- "internal/x/crypto/curve25519"
- "internal/x/crypto/hkdf"
"io"
"math/big"
)
diff --git a/src/crypto/tls/ticket.go b/src/crypto/tls/ticket.go
index 9560176259..c873e43a70 100644
--- a/src/crypto/tls/ticket.go
+++ b/src/crypto/tls/ticket.go
@@ -12,7 +12,7 @@ import (
"crypto/sha256"
"crypto/subtle"
"errors"
- "internal/x/crypto/cryptobyte"
+ "golang.org/x/crypto/cryptobyte"
"io"
)
diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go
index 80e4dec0f3..0d68d82993 100644
--- a/src/crypto/x509/x509.go
+++ b/src/crypto/x509/x509.go
@@ -24,8 +24,8 @@ import (
"encoding/pem"
"errors"
"fmt"
- "internal/x/crypto/cryptobyte"
- cryptobyte_asn1 "internal/x/crypto/cryptobyte/asn1"
+ "golang.org/x/crypto/cryptobyte"
+ cryptobyte_asn1 "golang.org/x/crypto/cryptobyte/asn1"
"io"
"math/big"
"net"