On 1/26/08, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Here you misunderstood me, I was proposing following:
int hash_folded(const char *str, int len)
{
char buf[512];
do_folding(buf, str, len);
return do_hash(buf, len);
}
That is - the folded string should stay internal to hash function.
Only difference from combined foling+hashing would be that
you can code each part separately.
Againg, you seem to keep HFS+ behaviour in mind, but that was
not what I did suggest. Probably my mistake, sorry.
--
marko
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html