Manuel Pégourié-Gonnard 2ee8d24ca2 Simplify some constant-time code
Some people recommend using bit operations to avoid the compiler producing a
branch on `ret != 0`, but:
- this makes the code less readable,
- here I got a warning from some compilers about unsigned unary minus
- and anyway modern compilers don't produce a branch here, checked on x64 and
  arm with various -O values.
2015-02-11 15:29:15 +00:00
..
2015-01-28 15:34:01 +00:00
2015-02-10 17:34:35 +01:00
2015-01-28 17:12:07 +00:00
2015-01-28 17:12:07 +00:00
2015-02-11 14:24:47 +00:00
2015-02-10 17:34:48 +01:00
2015-01-28 17:12:07 +00:00
2015-02-10 17:34:35 +01:00
2015-01-28 17:12:07 +00:00
2015-02-10 17:34:48 +01:00
2015-02-11 15:29:15 +00:00
2015-02-11 14:54:11 +00:00
2015-01-28 17:12:07 +00:00
2015-02-11 12:54:35 +00:00
2015-01-28 17:12:07 +00:00
2015-01-28 17:12:07 +00:00