diff --git a/cookie.go b/cookie.go index 72455a4..813ddab 100644 --- a/cookie.go +++ b/cookie.go @@ -1,9 +1,9 @@ package main import ( + "./xchacha20poly1305" "crypto/hmac" "crypto/rand" - "git.zx2c4.com/wireguard-go/internal/xchacha20poly1305" "golang.org/x/crypto/blake2s" "golang.org/x/crypto/chacha20poly1305" "sync" diff --git a/device.go b/device.go index 9f93f21..79ec0b8 100644 --- a/device.go +++ b/device.go @@ -1,7 +1,7 @@ package main import ( - "git.zx2c4.com/wireguard-go/internal/ratelimiter" + "./ratelimiter" "runtime" "sync" "sync/atomic" diff --git a/noise-protocol.go b/noise-protocol.go index df08a0a..6440c97 100644 --- a/noise-protocol.go +++ b/noise-protocol.go @@ -1,8 +1,8 @@ package main import ( + "./tai64n" "errors" - "git.zx2c4.com/wireguard-go/internal/tai64n" "golang.org/x/crypto/blake2s" "golang.org/x/crypto/chacha20poly1305" "golang.org/x/crypto/poly1305" diff --git a/internal/ratelimiter/ratelimiter.go b/ratelimiter/ratelimiter.go similarity index 100% rename from internal/ratelimiter/ratelimiter.go rename to ratelimiter/ratelimiter.go diff --git a/internal/ratelimiter/ratelimiter_test.go b/ratelimiter/ratelimiter_test.go similarity index 100% rename from internal/ratelimiter/ratelimiter_test.go rename to ratelimiter/ratelimiter_test.go diff --git a/internal/tai64n/tai64n.go b/tai64n/tai64n.go similarity index 100% rename from internal/tai64n/tai64n.go rename to tai64n/tai64n.go diff --git a/internal/tai64n/tai64n_test.go b/tai64n/tai64n_test.go similarity index 100% rename from internal/tai64n/tai64n_test.go rename to tai64n/tai64n_test.go diff --git a/internal/xchacha20poly1305/xchacha20.go b/xchacha20poly1305/xchacha20.go similarity index 100% rename from internal/xchacha20poly1305/xchacha20.go rename to xchacha20poly1305/xchacha20.go diff --git a/internal/xchacha20poly1305/xchacha20_test.go b/xchacha20poly1305/xchacha20_test.go similarity index 100% rename from internal/xchacha20poly1305/xchacha20_test.go rename to xchacha20poly1305/xchacha20_test.go