| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:19+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
# #-#-#-#-# archlinux: BN_generate_prime.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: BN_generate_prime.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: BN_generate_prime.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: BN_generate_prime.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 29 |
#. ======================================================================== |
| 30 |
#. type: IX |
| 31 |
#: archlinux debian-trixie debian-unstable |
| 32 |
#, no-wrap |
| 33 |
msgid "Title" |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
# |
| 37 |
#. Required to disable full justification in groff 1.23.0. |
| 38 |
#. ======================================================================== |
| 39 |
#. type: IX |
| 40 |
#: archlinux |
| 41 |
#, no-wrap |
| 42 |
msgid "BN_GENERATE_PRIME 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "BN_GENERATE_PRIME" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: TH |
| 52 |
#: archlinux debian-trixie debian-unstable |
| 53 |
#, no-wrap |
| 54 |
msgid "2026-04-07" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: TH |
| 58 |
#: archlinux debian-unstable |
| 59 |
#, no-wrap |
| 60 |
msgid "3.6.2" |
| 61 |
msgstr "" |
| 62 |
|
| 63 |
#. type: TH |
| 64 |
#: archlinux debian-trixie debian-unstable |
| 65 |
#, no-wrap |
| 66 |
msgid "OpenSSL" |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable |
| 71 |
#, no-wrap |
| 72 |
msgid "NAME" |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable |
| 77 |
msgid "" |
| 78 |
"BN_generate_prime_ex2, BN_generate_prime_ex, BN_is_prime_ex, BN_check_prime, " |
| 79 |
"BN_is_prime_fasttest_ex, BN_GENCB_call, BN_GENCB_new, BN_GENCB_free, " |
| 80 |
"BN_GENCB_set_old, BN_GENCB_set, BN_GENCB_get_arg, BN_generate_prime, " |
| 81 |
"BN_is_prime, BN_is_prime_fasttest - generate primes and test for primality" |
| 82 |
msgstr "" |
| 83 |
|
| 84 |
#. type: IX |
| 85 |
#: archlinux debian-trixie debian-unstable |
| 86 |
#, no-wrap |
| 87 |
msgid "SYNOPSIS" |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#. type: IX |
| 91 |
#: archlinux debian-trixie debian-unstable |
| 92 |
#, no-wrap |
| 93 |
msgid "Header" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable |
| 98 |
#, no-wrap |
| 99 |
msgid "" |
| 100 |
"\\& #include E<lt>openssl/bn.hE<gt>\n" |
| 101 |
"\\&\n" |
| 102 |
"\\& int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe,\n" |
| 103 |
"\\& const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,\n" |
| 104 |
"\\& BN_CTX *ctx);\n" |
| 105 |
"\\&\n" |
| 106 |
"\\& int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,\n" |
| 107 |
"\\& const BIGNUM *rem, BN_GENCB *cb);\n" |
| 108 |
"\\&\n" |
| 109 |
"\\& int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);\n" |
| 110 |
"\\&\n" |
| 111 |
"\\& int BN_GENCB_call(BN_GENCB *cb, int a, int b);\n" |
| 112 |
"\\&\n" |
| 113 |
"\\& BN_GENCB *BN_GENCB_new(void);\n" |
| 114 |
"\\&\n" |
| 115 |
"\\& void BN_GENCB_free(BN_GENCB *cb);\n" |
| 116 |
"\\&\n" |
| 117 |
"\\& void BN_GENCB_set_old(BN_GENCB *gencb,\n" |
| 118 |
"\\& void (*callback)(int, int, void *), void *cb_arg);\n" |
| 119 |
"\\&\n" |
| 120 |
"\\& void BN_GENCB_set(BN_GENCB *gencb,\n" |
| 121 |
"\\& int (*callback)(int, int, BN_GENCB *), void *cb_arg);\n" |
| 122 |
"\\&\n" |
| 123 |
"\\& void *BN_GENCB_get_arg(BN_GENCB *cb);\n" |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable |
| 128 |
msgid "" |
| 129 |
"The following functions have been deprecated since OpenSSL 0.9.8, and can be " |
| 130 |
"hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version " |
| 131 |
"value, see B<openssl_user_macros>\\|(7):" |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable |
| 136 |
#, no-wrap |
| 137 |
msgid "" |
| 138 |
"\\& BIGNUM *BN_generate_prime(BIGNUM *ret, int num, int safe, BIGNUM *add,\n" |
| 139 |
"\\& BIGNUM *rem, void (*callback)(int, int, void *),\n" |
| 140 |
"\\& void *cb_arg);\n" |
| 141 |
"\\&\n" |
| 142 |
"\\& int BN_is_prime(const BIGNUM *p, int nchecks,\n" |
| 143 |
"\\& void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg);\n" |
| 144 |
"\\&\n" |
| 145 |
"\\& int BN_is_prime_fasttest(const BIGNUM *p, int nchecks,\n" |
| 146 |
"\\& void (*callback)(int, int, void *), BN_CTX *ctx,\n" |
| 147 |
"\\& void *cb_arg, int do_trial_division);\n" |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable |
| 152 |
msgid "" |
| 153 |
"The following functions have been deprecated since OpenSSL 3.0, and can be " |
| 154 |
"hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version " |
| 155 |
"value, see B<openssl_user_macros>\\|(7):" |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable |
| 160 |
#, no-wrap |
| 161 |
msgid "" |
| 162 |
"\\& int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);\n" |
| 163 |
"\\&\n" |
| 164 |
"\\& int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,\n" |
| 165 |
"\\& int do_trial_division, BN_GENCB *cb);\n" |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: IX |
| 169 |
#: archlinux debian-trixie debian-unstable |
| 170 |
#, no-wrap |
| 171 |
msgid "DESCRIPTION" |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable |
| 176 |
msgid "" |
| 177 |
"\\&B<BN_generate_prime_ex2()> generates a pseudo-random prime number of at " |
| 178 |
"least bit length B<bits> using the BN_CTX provided in B<ctx>. The value of " |
| 179 |
"\\&B<ctx> must not be NULL." |
| 180 |
msgstr "" |
| 181 |
|
| 182 |
#. type: Plain text |
| 183 |
#: archlinux |
| 184 |
msgid "" |
| 185 |
"The returned number is probably prime with a negligible error. The maximum " |
| 186 |
"error rate is 2^-128. It\\*(Aqs 2^-287 for a 512 bit prime, 2^-435 for a " |
| 187 |
"1024 bit prime, 2^-648 for a 2048 bit prime, and lower than 2^-882 for " |
| 188 |
"primes larger than 2048 bit." |
| 189 |
msgstr "" |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable |
| 193 |
msgid "" |
| 194 |
"If B<add> is B<NULL> the returned prime number will have exact bit length " |
| 195 |
"B<bits> with the top most two bits set." |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable |
| 200 |
msgid "If B<ret> is not B<NULL>, it will be used to store the number." |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable |
| 205 |
msgid "If B<cb> is not B<NULL>, it is used as follows:" |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. type: IP |
| 209 |
#: archlinux debian-trixie debian-unstable |
| 210 |
#, no-wrap |
| 211 |
msgid "\\(bu" |
| 212 |
msgstr "" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable |
| 216 |
msgid "" |
| 217 |
"\\&B<BN_GENCB_call(cb, 0, i)> is called after generating the i-th potential " |
| 218 |
"prime number." |
| 219 |
msgstr "" |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable |
| 223 |
msgid "" |
| 224 |
"While the number is being tested for primality, \\&B<BN_GENCB_call(cb, 1, " |
| 225 |
"j)> is called as described below." |
| 226 |
msgstr "" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable |
| 230 |
msgid "When a prime has been found, B<BN_GENCB_call(cb, 2, i)> is called." |
| 231 |
msgstr "" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable |
| 235 |
msgid "" |
| 236 |
"The callers of B<BN_generate_prime_ex()> may call B<BN_GENCB_call(cb, i, j)> " |
| 237 |
"with other values as described in their respective man pages; see \"SEE " |
| 238 |
"ALSO\"." |
| 239 |
msgstr "" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable |
| 243 |
msgid "" |
| 244 |
"The prime may have to fulfill additional requirements for use in Diffie-" |
| 245 |
"Hellman key exchange:" |
| 246 |
msgstr "" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable |
| 250 |
msgid "" |
| 251 |
"If B<add> is not B<NULL>, the prime will fulfill the condition p % B<add> == " |
| 252 |
"B<rem> (p % B<add> == 1 if B<rem> == B<NULL>) in order to suit a given " |
| 253 |
"generator." |
| 254 |
msgstr "" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable |
| 258 |
msgid "" |
| 259 |
"If B<safe> is true, it will be a safe prime (i.e. a prime p so that (p-1)/2 " |
| 260 |
"is also prime). If B<safe> is true, and B<rem> == B<NULL> the condition will " |
| 261 |
"be p % B<add> == 3. It is recommended that B<add> is a multiple of 4." |
| 262 |
msgstr "" |
| 263 |
|
| 264 |
#. type: Plain text |
| 265 |
#: archlinux debian-trixie debian-unstable |
| 266 |
msgid "" |
| 267 |
"The random generator must be seeded prior to calling " |
| 268 |
"B<BN_generate_prime_ex()>. If the automatic seeding or reseeding of the " |
| 269 |
"OpenSSL CSPRNG fails due to external circumstances (see B<RAND>\\|(7)), the " |
| 270 |
"operation will fail. The random number generator configured for the " |
| 271 |
"OSSL_LIB_CTX associated with \\&B<ctx> will be used." |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable |
| 276 |
msgid "" |
| 277 |
"\\&B<BN_generate_prime_ex()> is the same as B<BN_generate_prime_ex2()> " |
| 278 |
"except that no \\&B<ctx> parameter is passed. In this case the random " |
| 279 |
"number generator associated with the default OSSL_LIB_CTX will be used." |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable |
| 284 |
msgid "" |
| 285 |
"\\&B<BN_check_prime()>, B<BN_is_prime_ex()>, B<BN_is_prime_fasttest_ex()>, " |
| 286 |
"B<BN_is_prime()> and B<BN_is_prime_fasttest()> test if the number B<p> is " |
| 287 |
"prime. The functions tests until one of the tests shows that B<p> is " |
| 288 |
"composite, or all the tests passed. If B<p> passes all these tests, it is " |
| 289 |
"considered a probable prime." |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: Plain text |
| 293 |
#: archlinux debian-trixie debian-unstable |
| 294 |
msgid "" |
| 295 |
"The test performed on B<p> are trial division by a number of small primes " |
| 296 |
"and rounds of the Miller-Rabin probabilistic primality test." |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-trixie debian-unstable |
| 301 |
msgid "" |
| 302 |
"The functions do at least 64 rounds of the Miller-Rabin test giving a " |
| 303 |
"maximum false positive rate of 2^-128. If the size of B<p> is more than " |
| 304 |
"2048 bits, they do at least 128 rounds giving a maximum false positive rate " |
| 305 |
"of 2^-256." |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-trixie debian-unstable |
| 310 |
msgid "" |
| 311 |
"If B<nchecks> is larger than the minimum above (64 or 128), B<nchecks> " |
| 312 |
"rounds of the Miller-Rabin test will be done." |
| 313 |
msgstr "" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable |
| 317 |
msgid "" |
| 318 |
"If B<do_trial_division> set to B<0>, the trial division will be skipped. " |
| 319 |
"\\&B<BN_is_prime_ex()> and B<BN_is_prime()> always skip the trial division." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable |
| 324 |
msgid "" |
| 325 |
"\\&B<BN_is_prime_ex()>, B<BN_is_prime_fasttest_ex()>, B<BN_is_prime()> and " |
| 326 |
"B<BN_is_prime_fasttest()> are deprecated." |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable |
| 331 |
msgid "" |
| 332 |
"\\&B<BN_is_prime_fasttest()> and B<BN_is_prime()> behave just like " |
| 333 |
"\\&B<BN_is_prime_fasttest_ex()> and B<BN_is_prime_ex()> respectively, but " |
| 334 |
"with the old style callback." |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable |
| 339 |
msgid "" |
| 340 |
"\\&B<ctx> is a preallocated B<BN_CTX> (to save the overhead of allocating " |
| 341 |
"and freeing the structure in a loop), or B<NULL>." |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
#. type: Plain text |
| 345 |
#: archlinux debian-trixie debian-unstable |
| 346 |
msgid "" |
| 347 |
"If the trial division is done, and no divisors are found and B<cb> is not " |
| 348 |
"B<NULL>, B<BN_GENCB_call(cb, 1, -1)> is called." |
| 349 |
msgstr "" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
#: archlinux debian-trixie debian-unstable |
| 353 |
msgid "" |
| 354 |
"After each round of the Miller-Rabin probabilistic primality test, if B<cb> " |
| 355 |
"is not B<NULL>, B<BN_GENCB_call(cb, 1, j)> is called with B<j> the iteration " |
| 356 |
"(j = 0, 1, ...)." |
| 357 |
msgstr "" |
| 358 |
|
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable |
| 361 |
msgid "" |
| 362 |
"\\&B<BN_GENCB_call()> calls the callback function held in the B<BN_GENCB> " |
| 363 |
"structure and passes the ints B<a> and B<b> as arguments. There are two " |
| 364 |
"types of \\&B<BN_GENCB> structure that are supported: \"new\" style and " |
| 365 |
"\"old\" style. New programs should prefer the \"new\" style, whilst the " |
| 366 |
"\"old\" style is provided for backwards compatibility purposes." |
| 367 |
msgstr "" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
#: archlinux debian-trixie debian-unstable |
| 371 |
msgid "" |
| 372 |
"A B<BN_GENCB> structure should be created through a call to " |
| 373 |
"B<BN_GENCB_new()>, and freed through a call to B<BN_GENCB_free()>. If the " |
| 374 |
"argument is NULL, nothing is done." |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
#. type: Plain text |
| 378 |
#: archlinux debian-trixie debian-unstable |
| 379 |
msgid "" |
| 380 |
"For \"new\" style callbacks a BN_GENCB structure should be initialised with " |
| 381 |
"a call to B<BN_GENCB_set()>, where B<gencb> is a B<BN_GENCB *>, B<callback> " |
| 382 |
"is of type B<int (*callback)(int, int, BN_GENCB *)> and B<cb_arg> is a " |
| 383 |
"B<void *>. \"Old\" style callbacks are the same except they are initialised " |
| 384 |
"with a call to B<BN_GENCB_set_old()> and B<callback> is of type \\&B<void " |
| 385 |
"(*callback)(int, int, void *)>." |
| 386 |
msgstr "" |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: archlinux debian-trixie debian-unstable |
| 390 |
msgid "" |
| 391 |
"A callback is invoked through a call to B<BN_GENCB_call>. This will check " |
| 392 |
"the type of the callback and will invoke B<callback(a, b, gencb)> for new " |
| 393 |
"style callbacks or B<callback(a, b, cb_arg)> for old style." |
| 394 |
msgstr "" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-trixie debian-unstable |
| 398 |
msgid "" |
| 399 |
"It is possible to obtain the argument associated with a BN_GENCB structure " |
| 400 |
"(set via a call to BN_GENCB_set or BN_GENCB_set_old) using BN_GENCB_get_arg." |
| 401 |
msgstr "" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable |
| 405 |
msgid "" |
| 406 |
"\\&B<BN_generate_prime()> (deprecated) works in the same way as " |
| 407 |
"\\&B<BN_generate_prime_ex()> but expects an old-style callback function " |
| 408 |
"directly in the B<callback> parameter, and an argument to pass to it in the " |
| 409 |
"B<cb_arg>. B<BN_is_prime()> and B<BN_is_prime_fasttest()> can similarly be " |
| 410 |
"compared to B<BN_is_prime_ex()> and \\&B<BN_is_prime_fasttest_ex()>, " |
| 411 |
"respectively." |
| 412 |
msgstr "" |
| 413 |
|
| 414 |
#. type: IX |
| 415 |
#: archlinux debian-trixie debian-unstable |
| 416 |
#, no-wrap |
| 417 |
msgid "RETURN VALUES" |
| 418 |
msgstr "" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable |
| 422 |
msgid "\\&B<BN_generate_prime_ex()> return 1 on success or 0 on error." |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-trixie debian-unstable |
| 427 |
msgid "" |
| 428 |
"\\&B<BN_is_prime_ex()>, B<BN_is_prime_fasttest_ex()>, B<BN_is_prime()>, " |
| 429 |
"\\&B<BN_is_prime_fasttest()> and BN_check_prime return 0 if the number is " |
| 430 |
"composite, 1 if it is prime with an error probability of less than " |
| 431 |
"0.25^B<nchecks>, and \\&-1 on error." |
| 432 |
msgstr "" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable |
| 436 |
msgid "" |
| 437 |
"\\&B<BN_generate_prime()> returns the prime number on success, B<NULL> " |
| 438 |
"otherwise." |
| 439 |
msgstr "" |
| 440 |
|
| 441 |
#. type: Plain text |
| 442 |
#: archlinux debian-trixie debian-unstable |
| 443 |
msgid "" |
| 444 |
"BN_GENCB_new returns a pointer to a BN_GENCB structure on success, or " |
| 445 |
"B<NULL> otherwise." |
| 446 |
msgstr "" |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: archlinux debian-trixie debian-unstable |
| 450 |
msgid "" |
| 451 |
"BN_GENCB_get_arg returns the argument previously associated with a BN_GENCB " |
| 452 |
"structure." |
| 453 |
msgstr "" |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable |
| 457 |
msgid "Callback functions should return 1 on success or 0 on error." |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-trixie debian-unstable |
| 462 |
msgid "The error codes can be obtained by B<ERR_get_error>\\|(3)." |
| 463 |
msgstr "" |
| 464 |
|
| 465 |
#. type: IX |
| 466 |
#: archlinux debian-trixie debian-unstable |
| 467 |
#, no-wrap |
| 468 |
msgid "REMOVED FUNCTIONALITY" |
| 469 |
msgstr "" |
| 470 |
|
| 471 |
#. type: Plain text |
| 472 |
#: archlinux debian-trixie debian-unstable |
| 473 |
msgid "" |
| 474 |
"As of OpenSSL 1.1.0 it is no longer possible to create a BN_GENCB structure " |
| 475 |
"directly, as in:" |
| 476 |
msgstr "" |
| 477 |
|
| 478 |
#. type: Plain text |
| 479 |
#: archlinux debian-trixie debian-unstable |
| 480 |
#, no-wrap |
| 481 |
msgid "\\& BN_GENCB callback;\n" |
| 482 |
msgstr "" |
| 483 |
|
| 484 |
#. type: Plain text |
| 485 |
#: archlinux debian-trixie debian-unstable |
| 486 |
msgid "" |
| 487 |
"Instead applications should create a BN_GENCB structure using BN_GENCB_new:" |
| 488 |
msgstr "" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable |
| 492 |
#, no-wrap |
| 493 |
msgid "" |
| 494 |
"\\& BN_GENCB *callback;\n" |
| 495 |
"\\& callback = BN_GENCB_new();\n" |
| 496 |
"\\& if (!callback)\n" |
| 497 |
"\\& /* error */\n" |
| 498 |
"\\& ...\n" |
| 499 |
"\\& BN_GENCB_free(callback);\n" |
| 500 |
msgstr "" |
| 501 |
|
| 502 |
#. type: IX |
| 503 |
#: archlinux debian-trixie debian-unstable |
| 504 |
#, no-wrap |
| 505 |
msgid "SEE ALSO" |
| 506 |
msgstr "" |
| 507 |
|
| 508 |
#. type: Plain text |
| 509 |
#: archlinux debian-trixie debian-unstable |
| 510 |
msgid "" |
| 511 |
"\\&B<DH_generate_parameters>\\|(3), B<DSA_generate_parameters>\\|(3), " |
| 512 |
"\\&B<RSA_generate_key>\\|(3), B<ERR_get_error>\\|(3), B<RAND_bytes>\\|(3), " |
| 513 |
"\\&B<RAND>\\|(7)" |
| 514 |
msgstr "" |
| 515 |
|
| 516 |
#. type: IX |
| 517 |
#: archlinux debian-trixie debian-unstable |
| 518 |
#, no-wrap |
| 519 |
msgid "HISTORY" |
| 520 |
msgstr "" |
| 521 |
|
| 522 |
#. type: Plain text |
| 523 |
#: archlinux debian-trixie debian-unstable |
| 524 |
msgid "" |
| 525 |
"The B<BN_is_prime_ex()> and B<BN_is_prime_fasttest_ex()> functions were " |
| 526 |
"deprecated in OpenSSL 3.0." |
| 527 |
msgstr "" |
| 528 |
|
| 529 |
#. type: Plain text |
| 530 |
#: archlinux debian-trixie debian-unstable |
| 531 |
msgid "" |
| 532 |
"The B<BN_GENCB_new()>, B<BN_GENCB_free()>, and B<BN_GENCB_get_arg()> " |
| 533 |
"functions were added in OpenSSL 1.1.0." |
| 534 |
msgstr "" |
| 535 |
|
| 536 |
#. type: Plain text |
| 537 |
#: archlinux debian-trixie debian-unstable |
| 538 |
msgid "\\&B<BN_check_prime()> was added in OpenSSL 3.0." |
| 539 |
msgstr "" |
| 540 |
|
| 541 |
#. type: IX |
| 542 |
#: archlinux debian-trixie debian-unstable |
| 543 |
#, no-wrap |
| 544 |
msgid "COPYRIGHT" |
| 545 |
msgstr "" |
| 546 |
|
| 547 |
#. type: Plain text |
| 548 |
#: archlinux debian-trixie debian-unstable |
| 549 |
msgid "Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved." |
| 550 |
msgstr "" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: archlinux debian-trixie debian-unstable |
| 554 |
msgid "" |
| 555 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 556 |
"this file except in compliance with the License. You can obtain a copy in " |
| 557 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 558 |
"www.openssl.org/source/license.htmlE<gt>." |
| 559 |
msgstr "" |
| 560 |
|
| 561 |
#. ======================================================================== |
| 562 |
#. type: IX |
| 563 |
#: debian-trixie debian-unstable |
| 564 |
#, no-wrap |
| 565 |
msgid "BN_GENERATE_PRIME 3SSL" |
| 566 |
msgstr "" |
| 567 |
|
| 568 |
#. type: TH |
| 569 |
#: debian-trixie |
| 570 |
#, no-wrap |
| 571 |
msgid "3.5.6" |
| 572 |
msgstr "" |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: debian-trixie debian-unstable |
| 576 |
msgid "" |
| 577 |
"The returned number is probably prime with a negligible error. The maximum " |
| 578 |
"error rate is 2^-128. It's 2^-287 for a 512 bit prime, 2^-435 for a 1024 " |
| 579 |
"bit prime, 2^-648 for a 2048 bit prime, and lower than 2^-882 for primes " |
| 580 |
"larger than 2048 bit." |
| 581 |
msgstr "" |