.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .if n .ds AD l .\" .\" Required to disable full justification in groff 1.23.0. .\" ======================================================================== .\" .IX Title "BN_CMP 3ssl" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH BN_CMP 3ssl "7 أبريل 2026" 3.6.2 OpenSSL .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH الاسم BN_cmp، BN_ucmp، BN_is_zero، BN_is_one، BN_is_word، BN_abs_is_word، BN_is_odd، BN_are_coprime \&\- دوال مقارنة واختبار BIGNUM .SH موجز .IX Header موجز .Vb 1 \& #include \& \& int BN_cmp(const BIGNUM *a, const BIGNUM *b); \& int BN_ucmp(const BIGNUM *a, const BIGNUM *b); \& \& int BN_is_zero(const BIGNUM *a); \& int BN_is_one(const BIGNUM *a); \& int BN_is_word(const BIGNUM *a, const BN_ULONG w); \& int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w); \& int BN_is_odd(const BIGNUM *a); \& \& int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); .Ve .SH الوصف .IX Header الوصف \&\fBBN_cmp()\fP تقارن العددين \fIa\fP و \fIb\fP. \fBBN_ucmp()\fP تقارن قيمهما المطلقة. .PP \&\fBBN_is_zero()\fP، \fBBN_is_one()\fP، \fBBN_is_word()\fP و \fBBN_abs_is_word()\fP تختبر إذا كان \&\fIa\fP يساوي 0، 1، \fIw\fP، أو |\fIw\fP| على التوالي. \&\fBBN_is_odd()\fP تختبر إذا كان \fIa\fP فرديًا. .PP \&\fBBN_are_coprime()\fP تحدد إذا كان \fBa\fP و \fBb\fP أوليين نسبيًا. \&\fBctx\fP يُستخدم داخليًا لتخزين متغيرات مؤقتة. يجب ألا تكون قيم \fBa\fP و \fBb\fP و \fBctx\fP NULL. .SH "القيم المُرجعة" .IX Header "القيم المُرجعة" \&\fBBN_cmp()\fP تُرجع \-1 إذا كان \fIa\fP < \fIb\fP، و0 إذا كان \fIa\fP == \fIb\fP، و1 إذا كان \&\fIa\fP > \fIb\fP. \fBBN_ucmp()\fP مماثلة باستخدام القيم المطلقة لـ \fIa\fP و \fIb\fP. .PP \&\fBBN_is_zero()\fP، \fBBN_is_one()\fP \fBBN_is_word()\fP، \fBBN_abs_is_word()\fP و \&\fBBN_is_odd()\fP تُرجع 1 إذا كان الشرط صحيحًا، و0 خلاف ذلك. .PP \&\fBBN_are_coprime()\fP تُرجع 1 إذا كانت \fBBIGNUM\fP أولية نسبيًا، وإلا تُرجع 0. .SH التاريخ .IX Header التاريخ قبل OpenSSL 1.1.0، كانت \fBBN_is_zero()\fP، \fBBN_is_one()\fP، \fBBN_is_word()\fP، \&\fBBN_abs_is_word()\fP و \fBBN_is_odd()\fP وحدات ماكرو. .PP أُضيفت الدالة \fBBN_are_coprime()\fP في OpenSSL 3.1. .SH "حقوق النسخ" .IX Header "حقوق النسخ" حقوق النشر 2000\-2021 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة. .PP مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط . .PP .SH ترجمة تُرجمت هذه الصفحة من الدليل بواسطة زايد السعيدي . .PP هذه الترجمة هي وثيقة مجانية؛ راجع .UR https://www.gnu.org/licenses/gpl-3.0.html رخصة جنو العامة الإصدار 3 .UE أو ما بعده للاطلاع على شروط حقوق النشر. لا توجد أي ضمانات. .PP إذا وجدت أي أخطاء في ترجمة صفحة الدليل هذه، يرجى إرسال بريد إلكتروني إلى قائمة بريد المترجمين: .MT kde-l10n-ar@kde.org .ME .