aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/cipher/cipher.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/cipher/cipher.go')
-rw-r--r--src/crypto/cipher/cipher.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/crypto/cipher/cipher.go b/src/crypto/cipher/cipher.go
index 7e1a4de9a3..df6f596b4d 100644
--- a/src/crypto/cipher/cipher.go
+++ b/src/crypto/cipher/cipher.go
@@ -59,11 +59,3 @@ type BlockMode interface {
// maintains state and does not reset at each CryptBlocks call.
CryptBlocks(dst, src []byte)
}
-
-// Utility routines
-
-func dup(p []byte) []byte {
- q := make([]byte, len(p))
- copy(q, p)
- return q
-}