Commit 46883b67 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Correct maximum request length. SP800-90 quotes maximum bits, not bytes.

parent 6c01cbb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@ int fips_drbg_ctr_init(DRBG_CTX *dctx)
		dctx->max_adin = dctx->seedlen;
		}

	dctx->max_request = 1<<19;
	dctx->max_request = 1<<16;
	dctx->reseed_interval = 1<<24;

	return 1;
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ int fips_drbg_hash_init(DRBG_CTX *dctx)
	dctx->max_pers = DRBG_MAX_LENGTH;
	dctx->max_adin = DRBG_MAX_LENGTH;

	dctx->max_request = 1<<19;
	dctx->max_request = 1<<16;
	dctx->reseed_interval = 1<<24;

	return 1;
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ int fips_drbg_hmac_init(DRBG_CTX *dctx)
        dctx->max_pers = DRBG_MAX_LENGTH;
        dctx->max_adin = DRBG_MAX_LENGTH;

        dctx->max_request = 1<<19;
        dctx->max_request = 1<<16;
        dctx->reseed_interval = 1<<24;

	return 1;