summaryrefslogtreecommitdiffstats
path: root/lib/rand.go
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2021-02-24 19:58:23 -0500
committerrsiddharth <s@ricketyspace.net>2021-02-24 19:58:23 -0500
commit6c4749a903744a16deb2fa6c426c4193afe76b4c (patch)
treeea2ff9e001a04e2b667ee767ce58e10e5f458b4e /lib/rand.go
parent97eaaa35e1630033ee68653e7f9c7c7aa84163bd (diff)
lib: remove OracleAESRandomEncrypt
Move function into C11 where it is used.
Diffstat (limited to 'lib/rand.go')
-rw-r--r--lib/rand.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rand.go b/lib/rand.go
index 1ba1679..be95366 100644
--- a/lib/rand.go
+++ b/lib/rand.go
@@ -37,7 +37,7 @@ func RandomBytes(size int) ([]byte, error) {
}
// Randomly generates `min` to `max` bytes.
-func randomBytesWithLengthBetween(min, max int64) []byte {
+func RandomBytesWithLengthBetween(min, max int64) []byte {
bs := make([]byte, RandomInt(min, max))
_, err := rand.Read(bs)
if err != nil {