Home GnuPG

Add GCRYCTL_SET_ENFORCED_FIPS_FLAG command.
90e49a11733bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add GCRYCTL_SET_ENFORCED_FIPS_FLAG command.

* doc/gcrypt.texi: Add documentation of the new command.
* src/fips.c (_gcry_enforced_fips_mode): Report the enforced fips mode
only when fips mode is enabled.
(_gcry_set_enforced_fips_mode): New function.
* src/g10lib.h: Add the _gcry_set_enforced_fips_mode prototype.
* src/gcrypt.h.in: Add the GCRYCTL_SET_ENFORCED_FIPS_FLAG.
* src/global.c (_gcry_vcontrol): Handle the new command.

Details

Provenance
t8mAuthored on Apr 4 2012, 2:17 PM
wernerCommitted on Apr 4 2012, 4:11 PM
Parents
rC70cca617ed75: Rework selftest in idea.c.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC90e49a11733b: Add GCRYCTL_SET_ENFORCED_FIPS_FLAG command. (authored by Tomas Mraz <tmraz@fedoraproject.org>).Apr 4 2012, 4:11 PM