+/* Child process of page-parallel.
+ Encrypts 1 MB of zeros, then decrypts it, and ensures that
+ the zeros are back. */
+
#include <string.h>
#include "tests/arc4.h"
#include "tests/lib.h"
#include "tests/main.h"
-const char *test_name = "child-linear";
-
-#define SIZE (128 * 1024)
+#define SIZE (1024 * 1024)
static char buf[SIZE];
int
struct arc4 arc4;
size_t i;
+ test_name = "child-linear";
+
/* Encrypt zeros. */
arc4_init (&arc4, key, strlen (key));
arc4_crypt (&arc4, buf, SIZE);