From 342e31987071a2d6d5089532370a0b9ba4a2a0ed Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 7 Oct 2021 18:00:41 -0500 Subject: [PATCH] dsa.c: fix up comment spelling/typography in wc_MakeDsaKey(). --- wolfcrypt/src/dsa.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/dsa.c b/wolfcrypt/src/dsa.c index 13a186f9e..b03a6e0f2 100644 --- a/wolfcrypt/src/dsa.c +++ b/wolfcrypt/src/dsa.c @@ -177,9 +177,11 @@ int wc_MakeDsaKey(WC_RNG *rng, DsaKey *dsa) if (err == MP_OKAY) { 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 - * requested_security_strength of (L,N) */ + * requested_security_strength of (L,N). + */ err = wc_RNG_GenerateBlock(rng, cBuf, cSz); if (err != MP_OKAY) break;