[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 11:00:59 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;
> - }
> -
I did not yet have time to cross-check FIPS 140-2 and SP 800-90A that we are allowed not to drop first block.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/820#note_121014428
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/ed881812/attachment-0001.html>
More information about the Gnutls-devel
mailing list