Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src

On Thu, Aug 30, 2012 at 06:03:28PM +0000, Taylor R Campbell wrote:
 >    On Thu, Aug 30, 2012 at 11:44:41AM -0400, Christos Zoulas wrote:
 >     > int
 >     > consttime_memcmp(const void *s1, const void *s2, size_t n)
 >     > [snip]
 >    so, I evidently missed this: what's "consttime" about this?
 > It means that the time it takes does not vary depending on the data at
 > s1 and s2.  Here `constant' does not mean `bounded by a constant' but
 > rather `not variable', i.e. `does not leak information about s1 and s2
 > through a timing side channel'.

Can we call it "fixedtime" instead then?

David A. Holland

Home | Main Index | Thread Index | Old Index