SVr4, 4.3BSD, C89, C99, POSIX.1\-2001.
.SH 注意
.PP
-Do not use \fBmemcmp\fP() 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 \fBconsttime_memequal\fP()), but no such function is specified in
-POSIX. On Linux, it may be necessary to implement such a function oneself.
+暗号化された秘密などセキュリティ的に重要なデータの比較には \fBmemcmp\fP() を使用しないこと。 必要な CPU
+時間は値が等しいバイトの量に依存するからである。 その代わり、 一定時間で比較を実行する関数が必要である。 いくつかのオペレーティングシステムでは
+(例えば NetBSD の \fBconsttime_memequal\fP() などの) 関数が提供されているが、 このような関数は POSIX
+では規定されていない。 Linux では、 このような関数自体を実装する必要があるかもしれない。
.SH 関連項目
\fBbcmp\fP(3), \fBstrcasecmp\fP(3), \fBstrcmp\fP(3), \fBstrcoll\fP(3),
\fBstrncasecmp\fP(3), \fBstrncmp\fP(3), \fBwmemcmp\fP(3)