[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 13:02:44 CET 2018
Nikos Mavrogiannopoulos 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;
> - }
> -
To my understanding, the test is still mentioned in [FIPS140-2 document, section 4.9.2](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.140-2.pdf). However the [newest implementation guide](https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Module-Validation-Program/documents/fips140-2/FIPS1402IG.pdf) in section 9.8 claims:
> In view of the considerations stated above, the requirement to pass the CRNGT is interpreted as follows.
> The SP-800-90A-compliant DRBGs are not required to perform the test as described in AS.09.42 and AS.09.43
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/820#note_121050933
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/3eac4f26/attachment-0001.html>
More information about the Gnutls-devel
mailing list