RAND_load_file.3 (273399) | RAND_load_file.3 (279264) |
---|---|
1.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.28) | 1.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) |
2.\" 3.\" Standard preamble: 4.\" ======================================================================== 5.de Sp \" Vertical space (when we can't use .PP) 6.if t .sp .5v 7.if n .sp 8.. 9.de Vb \" Begin verbatim text --- 23 unchanged lines hidden (view full) --- 33. ds C` "" 34. ds C' "" 35'br\} 36.el\{\ 37. ds -- \|\(em\| 38. ds PI \(*p 39. ds L" `` 40. ds R" '' | 2.\" 3.\" Standard preamble: 4.\" ======================================================================== 5.de Sp \" Vertical space (when we can't use .PP) 6.if t .sp .5v 7.if n .sp 8.. 9.de Vb \" Begin verbatim text --- 23 unchanged lines hidden (view full) --- 33. ds C` "" 34. ds C' "" 35'br\} 36.el\{\ 37. ds -- \|\(em\| 38. ds PI \(*p 39. ds L" `` 40. ds R" '' |
41. ds C` 42. ds C' |
|
41'br\} 42.\" 43.\" Escape single quotes in literal strings from groff's Unicode transform. 44.ie \n(.g .ds Aq \(aq 45.el .ds Aq ' 46.\" 47.\" If the F register is turned on, we'll generate index entries on stderr for 48.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index 49.\" entries marked with X<> in POD. Of course, you'll have to process the 50.\" output yourself in some meaningful fashion. | 43'br\} 44.\" 45.\" Escape single quotes in literal strings from groff's Unicode transform. 46.ie \n(.g .ds Aq \(aq 47.el .ds Aq ' 48.\" 49.\" If the F register is turned on, we'll generate index entries on stderr for 50.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index 51.\" entries marked with X<> in POD. Of course, you'll have to process the 52.\" output yourself in some meaningful fashion. |
51.ie \nF \{\ 52. de IX 53. tm Index:\\$1\t\\n%\t"\\$2" | 53.\" 54.\" Avoid warning from groff about undefined register 'F'. 55.de IX |
54.. | 56.. |
55. nr % 0 56. rr F 57.\} 58.el \{\ 59. de IX | 57.nr rF 0 58.if \n(.g .if rF .nr rF 1 59.if (\n(rF:(\n(.g==0)) \{ 60. if \nF \{ 61. de IX 62. tm Index:\\$1\t\\n%\t"\\$2" |
60.. | 63.. |
64. if !\nF==2 \{ 65. nr % 0 66. nr F 2 67. \} 68. \} |
|
61.\} | 69.\} |
70.rr rF |
|
62.\" 63.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). 64.\" Fear. Run. Save yourself. No user-serviceable parts. 65. \" fudge factors for nroff and troff 66.if n \{\ 67. ds #H 0 68. ds #V .8m 69. ds #F .3m --- 49 unchanged lines hidden (view full) --- 119. ds Th \o'LP' 120. ds ae ae 121. ds Ae AE 122.\} 123.rm #[ #] #H #V #F C 124.\" ======================================================================== 125.\" 126.IX Title "RAND_load_file 3" | 71.\" 72.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). 73.\" Fear. Run. Save yourself. No user-serviceable parts. 74. \" fudge factors for nroff and troff 75.if n \{\ 76. ds #H 0 77. ds #V .8m 78. ds #F .3m --- 49 unchanged lines hidden (view full) --- 128. ds Th \o'LP' 129. ds ae ae 130. ds Ae AE 131.\} 132.rm #[ #] #H #V #F C 133.\" ======================================================================== 134.\" 135.IX Title "RAND_load_file 3" |
127.TH RAND_load_file 3 "2014-10-15" "1.0.1j" "OpenSSL" | 136.TH RAND_load_file 3 "2015-01-15" "1.0.1l" "OpenSSL" |
128.\" For nroff, turn off justification. Always turn off hyphenation; it makes 129.\" way too many mistakes in technical documents. 130.if n .ad l 131.nh 132.SH "NAME" 133RAND_load_file, RAND_write_file, RAND_file_name \- PRNG seed file 134.SH "SYNOPSIS" 135.IX Header "SYNOPSIS" --- 10 unchanged lines hidden (view full) --- 146.IX Header "DESCRIPTION" 147\&\fIRAND_file_name()\fR generates a default path for the random seed 148file. \fBbuf\fR points to a buffer of size \fBnum\fR in which to store the 149filename. The seed file is \f(CW$RANDFILE\fR if that environment variable is 150set, \f(CW$HOME\fR/.rnd otherwise. If \f(CW$HOME\fR is not set either, or \fBnum\fR is 151too small for the path name, an error occurs. 152.PP 153\&\fIRAND_load_file()\fR reads a number of bytes from file \fBfilename\fR and | 137.\" For nroff, turn off justification. Always turn off hyphenation; it makes 138.\" way too many mistakes in technical documents. 139.if n .ad l 140.nh 141.SH "NAME" 142RAND_load_file, RAND_write_file, RAND_file_name \- PRNG seed file 143.SH "SYNOPSIS" 144.IX Header "SYNOPSIS" --- 10 unchanged lines hidden (view full) --- 155.IX Header "DESCRIPTION" 156\&\fIRAND_file_name()\fR generates a default path for the random seed 157file. \fBbuf\fR points to a buffer of size \fBnum\fR in which to store the 158filename. The seed file is \f(CW$RANDFILE\fR if that environment variable is 159set, \f(CW$HOME\fR/.rnd otherwise. If \f(CW$HOME\fR is not set either, or \fBnum\fR is 160too small for the path name, an error occurs. 161.PP 162\&\fIRAND_load_file()\fR reads a number of bytes from file \fBfilename\fR and |
154adds them to the \s-1PRNG\s0. If \fBmax_bytes\fR is non-negative, | 163adds them to the \s-1PRNG.\s0 If \fBmax_bytes\fR is non-negative, |
155up to to \fBmax_bytes\fR are read; starting with OpenSSL 0.9.5, 156if \fBmax_bytes\fR is \-1, the complete file is read. 157.PP 158\&\fIRAND_write_file()\fR writes a number of random bytes (currently 1024) to 159file \fBfilename\fR which can be used to initialize the \s-1PRNG\s0 by calling 160\&\fIRAND_load_file()\fR in a later session. 161.SH "RETURN VALUES" 162.IX Header "RETURN VALUES" --- 14 unchanged lines hidden --- | 164up to to \fBmax_bytes\fR are read; starting with OpenSSL 0.9.5, 165if \fBmax_bytes\fR is \-1, the complete file is read. 166.PP 167\&\fIRAND_write_file()\fR writes a number of random bytes (currently 1024) to 168file \fBfilename\fR which can be used to initialize the \s-1PRNG\s0 by calling 169\&\fIRAND_load_file()\fR in a later session. 170.SH "RETURN VALUES" 171.IX Header "RETURN VALUES" --- 14 unchanged lines hidden --- |