From 0d2c78d785750f94e8889f02ed0912acbdefee13 Mon Sep 17 00:00:00 2001 From: Vlad Gheorghiu Date: Sat, 11 Jan 2020 16:21:18 -0500 Subject: [PATCH] commit --- examples/client_server_kem/client/client_kem.go | 3 ++- examples/client_server_kem/server/server_kem.go | 3 ++- examples/kem/kem.go | 3 ++- examples/rand/rand.go | 3 ++- examples/sig/sig.go | 3 ++- oqstests/kem_test.go | 3 ++- oqstests/sig_test.go | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/examples/client_server_kem/client/client_kem.go b/examples/client_server_kem/client/client_kem.go index 75e09ab..460593f 100644 --- a/examples/client_server_kem/client/client_kem.go +++ b/examples/client_server_kem/client/client_kem.go @@ -5,11 +5,12 @@ import ( "bufio" "errors" "fmt" - "github.com/open-quantum-safe/liboqs-go/oqs" "io" "log" "net" "os" + + "github.com/open-quantum-safe/liboqs-go/oqs" ) func main() { diff --git a/examples/client_server_kem/server/server_kem.go b/examples/client_server_kem/server/server_kem.go index 649aad4..19c3e9b 100644 --- a/examples/client_server_kem/server/server_kem.go +++ b/examples/client_server_kem/server/server_kem.go @@ -4,12 +4,13 @@ package main import ( "errors" "fmt" - "github.com/open-quantum-safe/liboqs-go/oqs" "io" "log" "net" "os" "sync" + + "github.com/open-quantum-safe/liboqs-go/oqs" ) // Counter is a thread-safe counter. diff --git a/examples/kem/kem.go b/examples/kem/kem.go index 0263f66..561bf5a 100644 --- a/examples/kem/kem.go +++ b/examples/kem/kem.go @@ -4,8 +4,9 @@ package main import ( "bytes" "fmt" - "github.com/open-quantum-safe/liboqs-go/oqs" "log" + + "github.com/open-quantum-safe/liboqs-go/oqs" ) func main() { diff --git a/examples/rand/rand.go b/examples/rand/rand.go index 27298f6..8b32934 100644 --- a/examples/rand/rand.go +++ b/examples/rand/rand.go @@ -3,8 +3,9 @@ package main import ( "fmt" - oqsrand "github.com/open-quantum-safe/liboqs-go/oqs/rand" // RNG support "log" + + oqsrand "github.com/open-quantum-safe/liboqs-go/oqs/rand" // RNG support ) // CustomRNG provides a (trivial) custom random number generator; the memory is diff --git a/examples/sig/sig.go b/examples/sig/sig.go index 2da3c33..68c7132 100644 --- a/examples/sig/sig.go +++ b/examples/sig/sig.go @@ -3,8 +3,9 @@ package main import ( "fmt" - "github.com/open-quantum-safe/liboqs-go/oqs" "log" + + "github.com/open-quantum-safe/liboqs-go/oqs" ) func main() { diff --git a/oqstests/kem_test.go b/oqstests/kem_test.go index 75b463b..cdf43af 100644 --- a/oqstests/kem_test.go +++ b/oqstests/kem_test.go @@ -4,9 +4,10 @@ package oqstests import ( "bytes" "fmt" - "github.com/open-quantum-safe/liboqs-go/oqs" "sync" "testing" + + "github.com/open-quantum-safe/liboqs-go/oqs" ) // wgKEM groups goroutines and blocks the caller until all goroutines finish. diff --git a/oqstests/sig_test.go b/oqstests/sig_test.go index f1b4717..f8a96e4 100644 --- a/oqstests/sig_test.go +++ b/oqstests/sig_test.go @@ -2,9 +2,10 @@ package oqstests import ( "fmt" - "github.com/open-quantum-safe/liboqs-go/oqs" "sync" "testing" + + "github.com/open-quantum-safe/liboqs-go/oqs" ) // wgSig groups goroutines and blocks the caller until all goroutines finish.