aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/crypto/openpgp
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-11-08 15:40:58 -0800
committerRob Pike <r@golang.org>2011-11-08 15:40:58 -0800
commit30aa701fec9fad07180ca45958cf552b193a4d3a (patch)
tree8d8426473373c6af3721d1734c87d0d7bf99595a /src/pkg/crypto/openpgp
parent6ab6c49fce6968f200ad5381cb9348e159e51099 (diff)
downloadgo-30aa701fec9fad07180ca45958cf552b193a4d3a.tar.xz
renaming_2: gofix -r go1pkgrename src/pkg/[a-l]*
R=rsc CC=golang-dev https://golang.org/cl/5358041
Diffstat (limited to 'src/pkg/crypto/openpgp')
-rw-r--r--src/pkg/crypto/openpgp/elgamal/elgamal.go2
-rw-r--r--src/pkg/crypto/openpgp/elgamal/elgamal_test.go2
-rw-r--r--src/pkg/crypto/openpgp/packet/encrypted_key.go2
-rw-r--r--src/pkg/crypto/openpgp/packet/encrypted_key_test.go2
-rw-r--r--src/pkg/crypto/openpgp/packet/packet.go2
-rw-r--r--src/pkg/crypto/openpgp/packet/private_key.go2
-rw-r--r--src/pkg/crypto/openpgp/packet/public_key.go2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/pkg/crypto/openpgp/elgamal/elgamal.go b/src/pkg/crypto/openpgp/elgamal/elgamal.go
index 2ed49f6213..a553bdee8d 100644
--- a/src/pkg/crypto/openpgp/elgamal/elgamal.go
+++ b/src/pkg/crypto/openpgp/elgamal/elgamal.go
@@ -13,11 +13,11 @@
package elgamal
import (
- "big"
"crypto/rand"
"crypto/subtle"
"errors"
"io"
+ "math/big"
)
// PublicKey represents an ElGamal public key.
diff --git a/src/pkg/crypto/openpgp/elgamal/elgamal_test.go b/src/pkg/crypto/openpgp/elgamal/elgamal_test.go
index 101121aa65..c4f99f5c48 100644
--- a/src/pkg/crypto/openpgp/elgamal/elgamal_test.go
+++ b/src/pkg/crypto/openpgp/elgamal/elgamal_test.go
@@ -5,9 +5,9 @@
package elgamal
import (
- "big"
"bytes"
"crypto/rand"
+ "math/big"
"testing"
)
diff --git a/src/pkg/crypto/openpgp/packet/encrypted_key.go b/src/pkg/crypto/openpgp/packet/encrypted_key.go
index d05103fcd8..b24fa3a3fd 100644
--- a/src/pkg/crypto/openpgp/packet/encrypted_key.go
+++ b/src/pkg/crypto/openpgp/packet/encrypted_key.go
@@ -5,13 +5,13 @@
package packet
import (
- "big"
"crypto/openpgp/elgamal"
error_ "crypto/openpgp/error"
"crypto/rand"
"crypto/rsa"
"encoding/binary"
"io"
+ "math/big"
"strconv"
)
diff --git a/src/pkg/crypto/openpgp/packet/encrypted_key_test.go b/src/pkg/crypto/openpgp/packet/encrypted_key_test.go
index b402245bda..2b8eff7b3a 100644
--- a/src/pkg/crypto/openpgp/packet/encrypted_key_test.go
+++ b/src/pkg/crypto/openpgp/packet/encrypted_key_test.go
@@ -5,11 +5,11 @@
package packet
import (
- "big"
"bytes"
"crypto/rand"
"crypto/rsa"
"fmt"
+ "math/big"
"testing"
)
diff --git a/src/pkg/crypto/openpgp/packet/packet.go b/src/pkg/crypto/openpgp/packet/packet.go
index f7ed3536c5..778df15c0b 100644
--- a/src/pkg/crypto/openpgp/packet/packet.go
+++ b/src/pkg/crypto/openpgp/packet/packet.go
@@ -7,12 +7,12 @@
package packet
import (
- "big"
"crypto/aes"
"crypto/cast5"
"crypto/cipher"
error_ "crypto/openpgp/error"
"io"
+ "math/big"
)
// readFull is the same as io.ReadFull except that reading zero bytes returns
diff --git a/src/pkg/crypto/openpgp/packet/private_key.go b/src/pkg/crypto/openpgp/packet/private_key.go
index 742ac51e6e..c0ff82b413 100644
--- a/src/pkg/crypto/openpgp/packet/private_key.go
+++ b/src/pkg/crypto/openpgp/packet/private_key.go
@@ -5,7 +5,6 @@
package packet
import (
- "big"
"bytes"
"crypto/cipher"
"crypto/dsa"
@@ -16,6 +15,7 @@ import (
"crypto/sha1"
"io"
"io/ioutil"
+ "math/big"
"strconv"
)
diff --git a/src/pkg/crypto/openpgp/packet/public_key.go b/src/pkg/crypto/openpgp/packet/public_key.go
index af0bc2273f..7d71dc49a7 100644
--- a/src/pkg/crypto/openpgp/packet/public_key.go
+++ b/src/pkg/crypto/openpgp/packet/public_key.go
@@ -5,7 +5,6 @@
package packet
import (
- "big"
"crypto/dsa"
"crypto/openpgp/elgamal"
error_ "crypto/openpgp/error"
@@ -15,6 +14,7 @@ import (
"fmt"
"hash"
"io"
+ "math/big"
"strconv"
)