X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcrypto.h;h=3a43803a1ed34fffa3362d52c7e4ecdfa6c590fd;hp=040a989b238989a435214e84b505b7a206a95896;hb=a69c0a1be5c619a74c02fcef05be6142d4700f62;hpb=03e389cf049e4bbc2f6d0028dc320fb0583aad2c diff --git a/crypto/crypto.h b/crypto/crypto.h index 040a989b23..3a43803a1e 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -565,6 +565,15 @@ int OPENSSL_isservice(void); int FIPS_mode(void); int FIPS_mode_set(int r); +void OPENSSL_init(void); + +/* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It + * takes an amount of time dependent on |len|, but independent of the contents + * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a + * defined order as the return value when a != b is undefined, other than to be + * non-zero. */ +int CRYPTO_memcmp(const void *a, const void *b, size_t len); + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run.