add constant-time memcmp()

I thought we should have a constant-time memcmp() as well, as it's not yet provided from some standard library.
Any comments?

I will replace the different calls to the std. memcmp() in the rsa/pkcs#1 code afterwards.