{ return latinpoly_test(&salsa2012_poly1305, v); }
static int check_salsa208_poly1305(dstr *v)
{ return latinpoly_test(&salsa208_poly1305, v); }
+static int check_salsa20_naclbox(dstr *v)
+ { return latinpoly_test(&salsa20_naclbox, v); }
+static int check_salsa2012_naclbox(dstr *v)
+ { return latinpoly_test(&salsa2012_naclbox, v); }
+static int check_salsa208_naclbox(dstr *v)
+ { return latinpoly_test(&salsa208_naclbox, v); }
static const test_chunk tests[] = {
{ "salsa20-poly1305", check_salsa20_poly1305,
{ &type_hex, &type_hex, &type_hex, &type_hex, &type_hex, &type_hex } },
{ "salsa20/8-poly1305", check_salsa208_poly1305,
{ &type_hex, &type_hex, &type_hex, &type_hex, &type_hex, &type_hex } },
+ { "salsa20-naclbox", check_salsa20_naclbox,
+ { &type_hex, &type_hex, &type_hex, &type_hex, &type_hex, &type_hex } },
+ { "salsa20/12-naclbox", check_salsa2012_naclbox,
+ { &type_hex, &type_hex, &type_hex, &type_hex, &type_hex, &type_hex } },
+ { "salsa20/8-nacblox", check_salsa208_naclbox,
+ { &type_hex, &type_hex, &type_hex, &type_hex, &type_hex, &type_hex } },
{ 0, 0, { 0 } }
#undef TEST
};