add convenience defines
authorEugene Crosser <crosser@average.org>
Wed, 6 Nov 2013 20:46:58 +0000 (00:46 +0400)
committerEugene Crosser <crosser@average.org>
Wed, 6 Nov 2013 20:46:58 +0000 (00:46 +0400)
crypto.h

index c24cce07a76f7a6d910d675baeccff6b49bcc2ed..ad4cf63d2e00cb577bea3171c6072346742edf31 100644 (file)
--- a/crypto.h
+++ b/crypto.h
@@ -10,4 +10,7 @@ unsigned long hmac(void *key, int keylen, void *pt, int tlen,
                        void *tag, int *taglen);
 const char *crypto_errstr(unsigned long err);
 
+#define HASHSIZE 20
+#define CBLKSIZE 16
+
 #endif