diff options
author | Xin LI <delphij@FreeBSD.org> | 2016-08-14 23:38:50 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2016-08-14 23:38:50 +0000 |
commit | 854023f054291b7ecebb98ce5d91701caf244713 (patch) | |
tree | 64c9f6761b0f4cbba3fd631ac43d8c3266a6095c /lib/libc/string/memcmp.3 | |
parent | ce3ee09b538f7d8c90170bc48d2c81f018c4cf03 (diff) |
Add timingsafe_bcmp and timingsafe_memcmp.
Obtained from: OpenBSD
Reviewed by: trasz
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D7280
Notes
Notes:
svn path=/head/; revision=304106
Diffstat (limited to 'lib/libc/string/memcmp.3')
-rw-r--r-- | lib/libc/string/memcmp.3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/memcmp.3 b/lib/libc/string/memcmp.3 index 00e8e1a1d759..245e2abe1d71 100644 --- a/lib/libc/string/memcmp.3 +++ b/lib/libc/string/memcmp.3 @@ -32,7 +32,7 @@ .\" @(#)memcmp.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd June 4, 1993 +.Dd August 15, 2016 .Dt MEMCMP 3 .Os .Sh NAME @@ -75,6 +75,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 |