Versions in this module Expand all Collapse all v1 v1.2.4 Oct 10, 2023 v1.2.3 Oct 10, 2023 Changes in this version + func BA(b *testing.B, tests []CipherSize, do func(b *testing.B, bitSize int), ...) + func BBD(b *testing.B, keySize int, additionalSize int, srcSize int, init BI, do BD, ...) + func BBDA(b *testing.B, sizes []CipherSize, additionalSize int, srcSize int, init BI, ...) + func BBN(b *testing.B, keySize int, additionalSize int, init BI, skip bool) + func BBNA(b *testing.B, sizes []CipherSize, additionalSize int, init BI, skip bool) + func BTD(t *testing.T, init BI, do BD, testCases []BlockTestCase, skip bool) + func BTE(t *testing.T, init BI, do BD, testCases []BlockTestCase, skip bool) + func BTSC(t *testing.T, keySize int, additionalSize int, srcSize int, init BI, do BD, ...) + func BTSCA(t *testing.T, sizes []CipherSize, additionalSize int, srcSize int, init BI, ...) + func BTTC(t *testing.T, keySize int, additionalSize int, srcSize int, rndFitSize int, ...) + func CD(data interface{}, dst, src []byte) + func CE(data interface{}, dst, src []byte) + func HB(b *testing.B, h hash.Hash, inputSize int, skip bool) + func HBA(b *testing.B, sizes []CipherSize, newHash func(size int) hash.Hash, ...) + func HT(t *testing.T, h hash.Hash, testCases []HashTestCase, skip bool) + func HTA(t *testing.T, tests []CipherSize, do func(*testing.T, int), skip bool) + func HTS(t *testing.T, hashSize int, sum1 HS, sum2 HS, skip bool) + func HTSA(t *testing.T, sizes []CipherSize, h1New func(size int) hash.Hash, ...) + func HTSW(t *testing.T, h hash.Hash, skip bool) + func HTSWA(t *testing.T, sizes []CipherSize, newHash func(size int) hash.Hash, skip bool) + func TA(t *testing.T, tests []CipherSize, do func(t *testing.T, bitSize int), ...) + type BD func(c interface{}, dst, src []byte) + type BI func(key, additional []byte) (interface{}, error) + func BIW(f func(key []byte) (cipher.Block, error)) BI + type BlockTestCase struct + IV string + IVBytes []byte + Key string + KeyBytes []byte + Plain string + PlainBytes []byte + Reverse bool + Secure string + SecureBytes []byte + type CipherSize struct + Name string + Size int + type HS func(dst, src []byte) []byte + type HashTestCase struct + MD string + MDBytes []byte + Msg string + MsgBytes []byte