Improve constant-time buffer compare
* cipher/bufhelp.h (buf_eq_const): Rewrite logic.
New implementation for constant-time buffer comparing that
avoids generating conditional code in comparison loop.
(cherry picked from commit a1127dbbada4302abf09eec90fbaceca87bfcdf0)
- Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>