--- libaitcrc/inc/aitcrc.h 2010/06/13 16:29:02 1.3.2.1 +++ libaitcrc/inc/aitcrc.h 2010/09/28 08:40:53 1.3.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcrc.h,v 1.3.2.1 2010/06/13 16:29:02 misho Exp $ +* $Id: aitcrc.h,v 1.3.2.2 2010/09/28 08:40:53 misho Exp $ * *************************************************************************/ #ifndef __AITCRC_H @@ -124,6 +124,13 @@ inline u_int hash_bernstein(const char *csStr, int nSt * return: Hash value */ inline u_int hash_jenkins(const char *csStr, int nStrLen); +/* + * hash_reddragon() Compute index hash by Red Dragon + * @csStr = Input data buffer + * @nStrLen = Length of data buffer + * return: Hash value +*/ +inline u_int hash_reddragon(const char *csStr, int nStrLen); /* * hash_fnv1() Compute index hash by FNV-1 * @csStr = Input data buffer