aboutsummaryrefslogtreecommitdiff
path: root/internal/cryptocore/cryptocore_go1.5_test.go
blob: 1c932543879e92870e458fd6a66706000cda20c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build go1.5
// = go 1.5 or higher

package cryptocore

import (
	"testing"
)

func TestCryptoCoreNewGo15(t *testing.T) {
	key := make([]byte, 32)
	c := New(key, false, true)
	if c.IVLen != 16 {
		t.Fail()
	}
}