Server IP : 66.29.132.122 / Your IP : 3.141.35.116 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/cpanel/ea-openssl11/share/doc/openssl/html/man3/ |
Upload File : |
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CRYPTO_memcmp</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body> <ul id="index"> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#RETURN-VALUES">RETURN VALUES</a></li> <li><a href="#NOTES">NOTES</a></li> <li><a href="#COPYRIGHT">COPYRIGHT</a></li> </ul> <h1 id="NAME">NAME</h1> <p>CRYPTO_memcmp - Constant time memory comparison</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <pre><code> #include <openssl/crypto.h> int CRYPTO_memcmp(const void *a, const void *b, size_t len);</code></pre> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>The CRYPTO_memcmp function compares the <b>len</b> bytes pointed to by <b>a</b> and <b>b</b> for equality. It takes an amount of time dependent on <b>len</b>, but independent of the contents of the memory regions pointed to by <b>a</b> and <b>b</b>.</p> <h1 id="RETURN-VALUES">RETURN VALUES</h1> <p>CRYPTO_memcmp() returns 0 if the memory regions are equal and nonzero otherwise.</p> <h1 id="NOTES">NOTES</h1> <p>Unlike memcmp(2), this function cannot be used to order the two memory regions as the return value when they differ is undefined, other than being nonzero.</p> <h1 id="COPYRIGHT">COPYRIGHT</h1> <p>Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.</p> <p>Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p> </body> </html>