From ddf7b3e0655cf6dfeacfe509e477c1486d2cc7db Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 22 Nov 2017 11:42:10 +0100 Subject: sys/linux: improve AF_ALG alg name generation There is effectively infinite number of possible crypto algorithm names due to templates. Plus there is tricky relation between algorithms and algorithm type names. This change adds custom mutator for sockaddr_alg struct to improve variance in generated algorithms. --- prog/export_test.go | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'prog/export_test.go') diff --git a/prog/export_test.go b/prog/export_test.go index e6c384c7a..f3fc16997 100644 --- a/prog/export_test.go +++ b/prog/export_test.go @@ -17,25 +17,9 @@ func init() { var ( CalcChecksumsCall = calcChecksumsCall - //AssignSizesCall = assignSizesCall - //DefaultArg = defaultArg - InitTest = initTest + InitTest = initTest ) -/* -func PtrSize() uint64 { - return ptrSize -} - -func DataOffset() uint64 { - return dataOffset -} - -func PageSize() uint64 { - return pageSize -} -*/ - func initTest(t *testing.T) (*Target, rand.Source, int) { t.Parallel() iters := 10000 -- cgit mrf-deployment