return TRUE;
}
-static bool crypt(crypter_t *crypter, test_vector_t *test)
+static bool do_crypt(crypter_t *crypter, test_vector_t *test)
{
if (ctx.decrypt)
{
crypter->destroy(crypter);
return FALSE;
}
- if (!crypt(crypter, test))
+ if (!do_crypt(crypter, test))
{
crypter->destroy(crypter);
return FALSE;
/* store previous output as it is used as input after next */
memcpy(prev.ptr, output->ptr, prev.len);
chunk_free(output);
- if (!crypt(crypter, test))
+ if (!do_crypt(crypter, test))
{
crypter->destroy(crypter);
return FALSE;