summaryrefslogtreecommitdiffstats
path: root/src/crypto/cipher/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/cipher/export_test.go')
-rw-r--r--src/crypto/cipher/export_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/crypto/cipher/export_test.go b/src/crypto/cipher/export_test.go
new file mode 100644
index 0000000..beb9bf5
--- /dev/null
+++ b/src/crypto/cipher/export_test.go
@@ -0,0 +1,10 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package cipher
+
+// Export internal functions for testing.
+var XorBytes = xorBytes
+var NewCBCGenericEncrypter = newCBCGenericEncrypter
+var NewCBCGenericDecrypter = newCBCGenericDecrypter