summaryrefslogtreecommitdiff
path: root/cipher/seed.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2018-06-19 18:34:33 +0300
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2018-06-19 19:29:25 +0300
commitb6e6ace324440f564df664e27f8276ef01f76795 (patch)
tree3281fd2dd4fdaf2473d91bfb03b609c4d4c8889d /cipher/seed.c
parent233e2049a2cc1c1110f541b6a7ef145a737e2c65 (diff)
downloadlibgcrypt-b6e6ace324440f564df664e27f8276ef01f76795.tar.gz
Add fast path for _gcry_fips_is_operational
* src/fips.c (no_fips_mode_required): Rename to... (_gcry_no_fips_mode_required): ...this and make externally available. * src/g10lib.h (_gcry_no_fips_mode_required): New extern. (fips_mode): Inline _gcry_fips_mode to macro, use _gcry_no_fips_mode_required directly. (fips_is_operational): Inline fips_mode check from _gcry_fips_in_operational. -- Add fast path to reduce call overhead in src/visibility.c where fips_is_operational is called before cipher/md/etc operations. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/seed.c')
0 files changed, 0 insertions, 0 deletions