From: Alex Riesen Date: Thu, 17 Aug 2006 11:59:02 GMT Subject: Re: [PATCH] introduce inline is_same_sha1 Message-ID: <81b0412b0608170459if099fcane9d9e91a3fdac9e6@mail.gmail.com> In-Reply-To: On 8/17/06, David Rientjes wrote: > Introduces global inline: > is_same_sha1(const unsigned char *sha1, > const unsigned char *sha2); It is longer and negates all (like in "lots") previous callsites of memcmp. Are sure you didn't do a trivial typo somewhere? Why not just sha1cmp? And if you're aiming at hash-type independence, why not hashcmp?