summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Heider <tobias.heider@canonical.com>2023-02-16 03:20:48 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2023-03-14 11:53:57 +0900
commit0b7ad923978f708b41933d6b91d3159ffc7a84a1 (patch)
tree405d0aa54f3a56b795e4985c301afe85eb953737 /doc
parentdc4a60e2d70bc52ba2955f8e676341d675ab89a0 (diff)
downloadlibgcrypt-0b7ad923978f708b41933d6b91d3159ffc7a84a1.tar.gz
doc: Document the new FIPS indicators.
* doc/gcrypt.texi: Document the new options for FIPS indicators. -- Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/gcrypt.texi13
1 files changed, 13 insertions, 0 deletions
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