[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
Thu Nov 29 22:44:39 CET 2018


Dmitry Eremin-Solenikov commented on a 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;
> -	}
> -

Judging from that part and from SP-800-90A it is not necessary.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/820#note_121230948
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/20181129/1aa6f735/attachment-0001.html>


More information about the Gnutls-devel mailing list