diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-11-22 11:42:10 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-11-24 13:56:20 +0100 |
| commit | ddf7b3e0655cf6dfeacfe509e477c1486d2cc7db (patch) | |
| tree | dd3ce89e4c92cdb4ddaaae566222ec8cbd177676 /prog/export_test.go | |
| parent | d19770f1b9c6f1cb953b4a6e767aa914009deb20 (diff) | |
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.
Diffstat (limited to 'prog/export_test.go')
| -rw-r--r-- | prog/export_test.go | 18 |
1 files changed, 1 insertions, 17 deletions
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 |
