aes-test: Support test vectors at the end of a file
This commit is contained in:
committed by
Andreas Steffen
parent
8972c72237
commit
9455f8b386
@@ -265,6 +265,10 @@ static bool get_next_test_vector(test_vector_t *test)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (param != PARAM_UNKNOWN)
|
||||||
|
{ /* could be that the file ended with a complete test vector */
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user