fix doc/bn.tex
(cherry picked from commit e84c0948646dd019ed60c9a703584f9697c64638)
This commit is contained in:
		
							parent
							
								
									1c8c534885
								
							
						
					
					
						commit
						20f2b26c15
					
				| @ -2007,7 +2007,7 @@ mp\_prime\_random(). | ||||
| \begin{alltt} | ||||
| int mp_rand_digit(mp_digit *r) | ||||
| \end{alltt} | ||||
| This function generates a random number in \texttt{r} of the size given in \texttt{r} (that is, the variable is used for in- and output) but not more than \texttt{MP_MASK} bits. | ||||
| This function generates a random number in \texttt{r} of the size given in \texttt{r} (that is, the variable is used for in- and output) but not more than \texttt{MP\_MASK} bits. | ||||
| 
 | ||||
| \index{mp\_rand} | ||||
| \begin{alltt} | ||||
| @ -2015,7 +2015,7 @@ int mp_rand(mp_int *a, int digits) | ||||
| \end{alltt} | ||||
| This function generates a random number of \texttt{digits} bits. | ||||
| 
 | ||||
| The random number generated with these two functions is cryptographically secure if the source of random numbers the operating systems offers is cryptographically secure. It will use \texttt{arc4random()} if the OS is a BSD flavor, Wincrypt on Windows, or \texttt{\dev\urandom} on all operating systems that have it. | ||||
| The random number generated with these two functions is cryptographically secure if the source of random numbers the operating systems offers is cryptographically secure. It will use \texttt{arc4random()} if the OS is a BSD flavor, Wincrypt on Windows, or \texttt{\\dev\\urandom} on all operating systems that have it. | ||||
| 
 | ||||
| 
 | ||||
| \chapter{Input and Output} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user