# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:39+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "RAND_BYTES 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RAND_BYTES" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "RAND_bytes, RAND_priv_bytes, RAND_bytes_ex, RAND_priv_bytes_ex, " "RAND_pseudo_bytes, RAND_set1_random_provider - generate random data" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/rand.hE\n" "\\&\n" "\\& int RAND_bytes(unsigned char *buf, int num);\n" "\\& int RAND_priv_bytes(unsigned char *buf, int num);\n" "\\&\n" "\\& int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,\n" "\\& unsigned int strength);\n" "\\& int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,\n" "\\& unsigned int strength);\n" "\\&\n" "\\& int RAND_set1_random_provider(OSSL_LIB_CTX *ctx, OSSL_PROVIDER *p);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The following function has been deprecated since OpenSSL 1.1.0, and can be " "hidden entirely by defining B with a suitable version " "value, see B\\|(7):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\\& int RAND_pseudo_bytes(unsigned char *buf, int num);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B generates B random bytes using a cryptographically " "secure pseudo random generator (CSPRNG) and stores them in B. B " "B be NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B has the same semantics as B. It is " "intended to be used for generating values that should remain private. If " "using the default RAND_METHOD, this function uses a separate \"private\" " "PRNG instance so that a compromise of the \"public\" PRNG instance will not " "affect the secrecy of these private values, as described in B\\|(7) " "and B\\|(7)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B are the same as " "B and \\&B except that they both take " "additional I and \\&I parameters. The bytes generated will " "have a security strength of at least I bits. The DRBG used for " "the operation is the public or private DRBG associated with the specified " "I. The parameter can be NULL, in which case the default library context " "is used (see B\\|(3). If the default RAND_METHOD has been " "changed then for compatibility reasons the RAND_METHOD will be used in " "preference and the DRBG of the library context ignored." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B specifies a provider, I, which will " "be used by the library context I for all of the generate calls above " "instead of the built-in in DRBGs and entropy source. Pass NULL for the " "provider to disable the random provider functionality. In this case, the " "built-in DRBGs and entropy source will be used. This call should not be " "considered thread safe." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux msgid "" "By default, the OpenSSL CSPRNG supports a security level of 256 bits, " "provided it was able to seed itself from a trusted entropy source. On all " "major platforms supported by OpenSSL (including the Unix-like platforms and " "Windows), OpenSSL is configured to automatically seed the CSPRNG on first " "use using the operating systems\\*(Aqs random generator." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If the entropy source fails or is not available, the CSPRNG will enter an " "error state and refuse to generate random bytes. For that reason, it is " "important to always check the error return value of B and " "B and not take randomness for granted." msgstr "" #. type: Plain text #: archlinux msgid "" "On other platforms, there might not be a trusted entropy source available or " "OpenSSL might have been explicitly configured to use different entropy " "sources. If you are in doubt about the quality of the entropy source, " "don\\*(Aqt hesitate to ask your operating system vendor or post a question " "on GitHub or the openssl-users mailing list." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B return 1 on success, -1 if not " "supported by the current RAND method, or 0 on other failure. The error code " "can be obtained by B\\|(3)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 on success and 0 on failure." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(3), \\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(7), \\&B\\|(7)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\\(bu" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B was deprecated in OpenSSL 1.1.0; use " "B instead." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 1.1.1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B and B functions were added in " "OpenSSL 3.0" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 3.5" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "RAND_BYTES 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "By default, the OpenSSL CSPRNG supports a security level of 256 bits, " "provided it was able to seed itself from a trusted entropy source. On all " "major platforms supported by OpenSSL (including the Unix-like platforms and " "Windows), OpenSSL is configured to automatically seed the CSPRNG on first " "use using the operating systems's random generator." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "On other platforms, there might not be a trusted entropy source available or " "OpenSSL might have been explicitly configured to use different entropy " "sources. If you are in doubt about the quality of the entropy source, don't " "hesitate to ask your operating system vendor or post a question on GitHub or " "the openssl-users mailing list." msgstr ""