From 0b7ad923978f708b41933d6b91d3159ffc7a84a1 Mon Sep 17 00:00:00 2001 From: Tobias Heider Date: Thu, 16 Feb 2023 03:20:48 +0100 Subject: doc: Document the new FIPS indicators. * doc/gcrypt.texi: Document the new options for FIPS indicators. -- Signed-off-by: Jakub Jelen --- doc/gcrypt.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index e44c2f2e..462c5931 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -992,6 +992,19 @@ certification. If the function is approved, this function returns @code{GPG_ERR_NO_ERROR} (other restrictions might still apply). Otherwise @code{GPG_ERR_NOT_SUPPORTED} is returned. +@item GCRYCTL_FIPS_SERVICE_INDICATOR_MAC; Arguments: enum gcry_mac_algos + +Check if the given MAC is approved under the current FIPS 140-3 +certification. If the MAC is approved, this function returns +@code{GPG_ERR_NO_ERROR}. Otherwise @code{GPG_ERR_NOT_SUPPORTED} +is returned. + +@item GCRYCTL_FIPS_SERVICE_INDICATOR_MD; Arguments: enum gcry_md_algos + +Check if the given message digest algorithm is approved under the current +FIPS 140-3 certification. If the algorithm is approved, this function returns +@code{GPG_ERR_NO_ERROR}. Otherwise @code{GPG_ERR_NOT_SUPPORTED} is returned. + @end table @end deftypefun -- cgit v1.2.1