public void test(TestHarness harness)
{
harness.checkPoint("EAX/AES-128");
IAuthenticatedMode mode = (IAuthenticatedMode)
// ModeFactory.getInstance(Registry.EAX_MODE, Registry.AES_CIPHER, 16);
new EAX(CipherFactory.getInstance(Registry.AES_CIPHER), 16);
HashMap attr = new HashMap();
attr.put(IAuthenticatedMode.MODE_BLOCK_SIZE, new Integer(1));
for (int i = 0; i < TESTS.length; i++)
{
attr.put(IAuthenticatedMode.KEY_MATERIAL, TESTS[i][0]);