Lines Matching refs:stringNdx
283 size_t stringNdx; in deSha1_selfTest() local
285 for (stringNdx = 0; stringNdx < DE_LENGTH_OF_ARRAY(validHashStrings); stringNdx++) in deSha1_selfTest()
289 DE_TEST_ASSERT(deSha1_parse(&hash, validHashStrings[stringNdx])); in deSha1_selfTest()
295 size_t stringNdx; in deSha1_selfTest() local
297 for (stringNdx = 0; stringNdx < DE_LENGTH_OF_ARRAY(invalidHashStrings); stringNdx++) in deSha1_selfTest()
301 DE_TEST_ASSERT(!deSha1_parse(&hash, invalidHashStrings[stringNdx])); in deSha1_selfTest()
307 size_t stringNdx; in deSha1_selfTest() local
309 for (stringNdx = 0; stringNdx < DE_LENGTH_OF_ARRAY(validHashStrings); stringNdx++) in deSha1_selfTest()
317 DE_TEST_ASSERT(deSha1_parse(&hashA, validHashStrings[stringNdx])); in deSha1_selfTest()
318 DE_TEST_ASSERT(deSha1_parse(&hashB, validHashStrings[stringNdx])); in deSha1_selfTest()
353 size_t stringNdx; in deSha1_selfTest() local
355 for (stringNdx = 0; stringNdx < DE_LENGTH_OF_ARRAY(validHashStrings); stringNdx++) in deSha1_selfTest()
363 DE_TEST_ASSERT(deSha1_parse(&hash, validHashStrings[stringNdx])); in deSha1_selfTest()
366 DE_TEST_ASSERT(strncmp(result, validHashStrings[stringNdx], 40) == 0); in deSha1_selfTest()