symm/latinpoly-def.h: Implement Bernstein's `crypto_secretbox'.
[catacomb] / symm / latinpoly.c
index a4aad36..29ba71a 100644 (file)
@@ -54,6 +54,9 @@ void latinpoly_aadhash_poly1305(gaead_aad *a, const void *h, size_t hsz)
   poly1305_hash(&aad->poly, h, hsz);
 }
 
+void latinpoly_aadhash_naclbox(gaead_aad *a, const void *h, size_t hsz)
+  { assert(!hsz); }
+
 void latinpoly_aaddestroy(gaead_aad *a) { ; }
 
 /* --- @latinpoly_tag@ --- *