[gnutls-devel] GnuTLS | DRBG: Remove all traces of FIPS 140-2 continuous self test (!820)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Nov 28 00:12:05 CET 2018


Dmitry Eremin-Solenikov started a new discussion on lib/nettle/int/drbg-aes.c:

>  		memset(seed, 0, DRBG_AES_SEED_SIZE);
>  	}
>  
> -	/* Throw the first block generated. FIPS 140-2 requirement (see 
> -	 * the continuous random number generator test in 4.9.2)
> -	 */
> -	if (ctx->prev_block_present == 0) {
> -		INCREMENT(sizeof(ctx->v), ctx->v);
> -		aes256_encrypt(&ctx->key, AES_BLOCK_SIZE, ctx->prev_block, ctx->v);
> -
> -		ctx->prev_block_present = 1;
> -	}
> -

Why did you drop this part?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/820#note_120548777
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181127/4498a7a7/attachment.html>


More information about the Gnutls-devel mailing list