mirror of https://github.com/mkerrisk/man-pages
memcmp.3: tfix
Reported-by: Andre Majorel <aym-xunil@teaser.fr> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e0ea18e3fc
commit
8d476c394a
|
@ -76,7 +76,7 @@ to compare security critical data, such as cryptographic secrets,
|
|||
because the required CPU time depends on the number of equal bytes.
|
||||
Instead, a function that performs comparisons in constant time is required.
|
||||
Some operating systems provide such a function (e.g., NetBSD's
|
||||
.BR const_memequal ()),
|
||||
.BR consttime_memequal ()),
|
||||
but no such function is specified in POSIX.
|
||||
On Linux, it may be necessary to implement such a function oneself.
|
||||
.SH SEE ALSO
|
||||
|
|
Loading…
Reference in New Issue