dsa.c: fix up comment spelling/typography in wc_MakeDsaKey().

This commit is contained in:
Daniel Pouzzner
2021-10-07 18:00:41 -05:00
parent a5c03f65e3
commit 342e319870

View File

@ -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;