mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
dsa.c: fix up comment spelling/typography in wc_MakeDsaKey().
This commit is contained in:
@ -177,9 +177,11 @@ int wc_MakeDsaKey(WC_RNG *rng, DsaKey *dsa)
|
|||||||
|
|
||||||
if (err == MP_OKAY) {
|
if (err == MP_OKAY) {
|
||||||
do {
|
do {
|
||||||
/* generate N+64 bits (c) from RBG into &dsa->x, making sure positive.
|
/* Generate N+64 bits (c) from RNG into &dsa->x, making sure
|
||||||
|
* result is positive.
|
||||||
* Hash_DRBG uses SHA-256 which matches maximum
|
* Hash_DRBG uses SHA-256 which matches maximum
|
||||||
* requested_security_strength of (L,N) */
|
* requested_security_strength of (L,N).
|
||||||
|
*/
|
||||||
err = wc_RNG_GenerateBlock(rng, cBuf, cSz);
|
err = wc_RNG_GenerateBlock(rng, cBuf, cSz);
|
||||||
if (err != MP_OKAY)
|
if (err != MP_OKAY)
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user