Add Constant-time utilities.

Patch by: Emilia Kasper <emilia@openssl.org>