Lines Matching refs:test
100 for _, test := range group.Tests {
101 test := test
103 ent, err := extractField(test.EntropyHex, group.EntropyBits)
105 …return nil, fmt.Errorf("failed to extract entropy hex from test case %d/%d: %s", group.ID, test.ID…
108 nonce, err := extractField(test.NonceHex, group.NonceBits)
110 …return nil, fmt.Errorf("failed to extract nonce hex from test case %d/%d: %s", group.ID, test.ID, …
113 perso, err := extractField(test.PersonalizationHex, group.PersonalizationBits)
115 …mt.Errorf("failed to extract personalization hex from test case %d/%d: %s", group.ID, test.ID, err)
126 if err := extractOtherInputs(test.Other, []drbgOtherInputExpectations{
129 …return nil, fmt.Errorf("failed to parse other inputs from test case %d/%d: %s", group.ID, test.ID,…
135 if err := extractOtherInputs(test.Other, []drbgOtherInputExpectations{
139 …return nil, fmt.Errorf("failed to parse other inputs from test case %d/%d: %s", group.ID, test.ID,…
145 if err := extractOtherInputs(test.Other, []drbgOtherInputExpectations{
148 …return nil, fmt.Errorf("failed to parse other inputs from test case %d/%d: %s", group.ID, test.ID,…
161 ID: test.ID,