summaryrefslogtreecommitdiff
path: root/src/g10lib.h
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2022-08-08 13:50:15 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2022-08-23 15:38:17 +0900
commit05a9c9d1ba1db6c1cd160fba979e9ddf4700a0c0 (patch)
treeaf994d0363771bf53953c82cba087ee8b9ed7eb7 /src/g10lib.h
parent1fc7bfc351ba1d7fa31c0c62a24ad78e9e1cfd5b (diff)
downloadlibgcrypt-05a9c9d1ba1db6c1cd160fba979e9ddf4700a0c0.tar.gz
fips: Add function-name based FIPS indicator.
* doc/gcrypt.texi: Document the new function-based fips indicator GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION * src/fips.c (_gcry_fips_indicator_function): New function indicating non-approved functions. * src/gcrypt.h.in (enum gcry_ctl_cmds): New symbol GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION * src/global.c (_gcry_vcontrol): Handle new FIPS indicator. -- Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src/g10lib.h')
-rw-r--r--src/g10lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/g10lib.h b/src/g10lib.h
index 8ba0a5c2..eff6295f 100644
--- a/src/g10lib.h
+++ b/src/g10lib.h
@@ -468,6 +468,7 @@ void _gcry_fips_signal_error (const char *srcfile,
int _gcry_fips_indicator_cipher (va_list arg_ptr);
int _gcry_fips_indicator_kdf (va_list arg_ptr);
+int _gcry_fips_indicator_function (va_list arg_ptr);
int _gcry_fips_is_operational (void);