From 20f2b26c1552d880b24d72b1161a862c48f34c8f Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 15 Jan 2019 18:26:40 +0100 Subject: [PATCH] fix doc/bn.tex (cherry picked from commit e84c0948646dd019ed60c9a703584f9697c64638) --- doc/bn.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bn.tex b/doc/bn.tex index 69e110d..19268b3 100644 --- a/doc/bn.tex +++ b/doc/bn.tex @@ -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}