Documentation
¶
Index ¶
- 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
- type BI
- type BlockTestCase
- type CipherSize
- type HS
- type HashTestCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BBDA ¶
func BBDA( b *testing.B, sizes []CipherSize, additionalSize int, srcSize int, init BI, do BD, skip bool, )
Block Bench Do All
func BTSCA ¶
func BTSCA( t *testing.T, sizes []CipherSize, additionalSize int, srcSize int, init BI, do BD, skip bool, )
Block Test Src changing All
func BTTC ¶
func BTTC( t *testing.T, keySize int, additionalSize int, srcSize int, rndFitSize int, init BI, DoA BD, DoB BD, skip bool, )
Block Test Two Cipher
func HBA ¶
func HBA( b *testing.B, sizes []CipherSize, newHash func(size int) hash.Hash, inputSize int, skip bool, )
Hash Bench All
func HTSA ¶
func HTSA( t *testing.T, sizes []CipherSize, h1New func(size int) hash.Hash, h2New func(size int) hash.Hash, skip bool, )
Hash Test Sum All
Types ¶
type BlockTestCase ¶
type BlockTestCase struct { Reverse bool Key string // hex Plain string // hex Secure string // hex IV string // initialization vector, in hex KeyBytes []byte PlainBytes []byte SecureBytes []byte IVBytes []byte }
Block TestCase
type CipherSize ¶
Click to show internal directories.
Click to hide internal directories.