summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/memcmp.3
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2014-06-13 02:12:17 +0000
committermatthew <matthew@openbsd.org>2014-06-13 02:12:17 +0000
commitabf4a3ad428df3ac48d62c9f639f119e88114ab6 (patch)
treea066c951e0cc97608f2eb6a4ce3c12ee185d262f /lib/libc/string/memcmp.3
parentAdd regress tests for timingsafe_bcmp and timingsafe_memcmp. (diff)
downloadwireguard-openbsd-abf4a3ad428df3ac48d62c9f639f119e88114ab6.tar.xz
wireguard-openbsd-abf4a3ad428df3ac48d62c9f639f119e88114ab6.zip
Add timingsafe_memcmp().
ok deraadt, jmc, tedu
Diffstat (limited to 'lib/libc/string/memcmp.3')
-rw-r--r--lib/libc/string/memcmp.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/string/memcmp.3 b/lib/libc/string/memcmp.3
index ebd838825ad..25d308e6171 100644
--- a/lib/libc/string/memcmp.3
+++ b/lib/libc/string/memcmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memcmp.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: memcmp.3,v 1.9 2014/06/13 02:12:17 matthew Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: June 13 2014 $
.Dt MEMCMP 3
.Os
.Sh NAME
@@ -70,6 +70,7 @@ Zero-length strings are always identical.
.Xr strcmp 3 ,
.Xr strcoll 3 ,
.Xr strxfrm 3 ,
+.Xr timingsafe_memcmp 3 ,
.Xr wmemcmp 3
.Sh STANDARDS
The