Lines Matching refs:validHashStrings
242 const char* const validHashStrings[] = 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()
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()
331 for (stringANdx = 0; stringANdx < DE_LENGTH_OF_ARRAY(validHashStrings); stringANdx++) in deSha1_selfTest()
332 for (stringBNdx = 0; stringBNdx < DE_LENGTH_OF_ARRAY(validHashStrings); stringBNdx++) in deSha1_selfTest()
343 DE_TEST_ASSERT(deSha1_parse(&hashA, validHashStrings[stringANdx])); in deSha1_selfTest()
344 DE_TEST_ASSERT(deSha1_parse(&hashB, validHashStrings[stringBNdx])); in deSha1_selfTest()
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()