Hi, On Thu, 9 Mar 2006, Mark Wooding wrote: > There are reasons for which it'd be desirable that memcmp really compare > all the bytes, even if it can in theory stop early: in particular, there > are cases where early exit can leak timing information which makes it > possible to attack cryptographic protocols. I would be astonished if memcmp has to be timing proof for *all* applications, just to keep crypto people happy. I don't *want* a slow-down in my super-duper 3d shooter. > I'd have to recommend strncmp for this job. Fully agree. Ciao, Dscho - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html