.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, 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'. .de IX .. .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 .\" ======================================================================== .\" .IX Title "fr::crypto::RAND_load_file 3SSL" .TH fr::crypto::RAND_load_file 3SSL "2015-12-31" "1.0.2a 1.0.2c" "OpenSSL" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NOM" .IX Header "NOM" RAND_load_file, RAND_write_file, RAND_file_name \- Fichier d'initialisation de générateur de nombres pseudoaléatoires .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fB #include \fR .PP \&\fB const char *RAND_file_name(char *\fR\fIbuf\fR\fB, size_t\fR \fInum\fR\fB);\fR .PP \&\fB int RAND_load_file(const char *\fR\fIfilename\fR\fB, long\fR \fImax_bytes\fR\fB);\fR .PP \&\fB int RAND_write_file(const char *\fR\fIfilename\fR\fB);\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBRAND_file_name\fR() génère un chemin par défaut pour le fichier d'initialisation aléatoire. \fIbuf\fR pointe vers un tampon de taille \fInum\fR dans lequel est conservé le nom de fichier. Le fichier d'initialisation est \&\f(CW$RANDFILE\fR si cette variable d'environnement est définie, \f(CW$HOME\fR/.rnd sinon. Si \f(CW$HOME\fR n'est pas défini non plus, ou si \fInum\fR est trop petit pour le nom de fichier, une erreur survient. .PP \&\fBRAND_load_file\fR() lit plusieurs octets du fichier \fIfilename\fR et les ajoute au générateur de nombres pseudoaléatoires. Si \fImax_bytes\fR n'est pas négatif, jusqu'à \fImax_bytes\fR sont lus ; depuis OpenSSL 0.9.5, si \&\fImax_bytes\fR est \fB\-1\fR, tout le fichier est lu. .PP \&\fBRAND_write_file\fR() écrit plusieurs octets aléatoires (1024 actuellement) dans le fichier \fIfilename\fR qui peut être utilisé pour initialiser le générateur de nombres pseudoaléatoires en appelant \fBRAND_load_file\fR() dans une session suivante. .SH "VALEURS DE RETOUR" .IX Header "VALEURS DE RETOUR" \&\fBRAND_load_file\fR() renvoie le nombre d'octets lus. .PP \&\fBRAND_write_file\fR() renvoie le nombre d'octets écrits, et \fB\-1\fR si les octets écrits ont été générés sans initialisation appropriée. .PP \&\fBRAND_file_name\fR() renvoie un pointeur vers \fIbuf\fR en cas de réussite, et \&\s-1NULL\s0 en cas d'erreur. .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" \&\fBrand\fR(3), \fBRAND_add\fR(3), \&\fBRAND_cleanup\fR(3) .SH "HISTORIQUE" .IX Header "HISTORIQUE" \&\fBRAND_load_file\fR(), \fBRAND_write_file\fR() et \fBRAND_file_name\fR() sont disponibles dans toutes les versions de SSLeay et OpenSSL. .SH "TRADUCTION" .IX Header "TRADUCTION" La traduction de cette page de manuel est maintenue par les membres de la liste . Veuillez signaler toute erreur de traduction par un rapport de bogue sur le paquet manpages-fr-extra.