]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Do not include the FIPS140-specific functions into the main documentation.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 10 Apr 2014 18:02:45 +0000 (20:02 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 10 Apr 2014 18:02:45 +0000 (20:02 +0200)
lib/crypto-selftests-pk.c
lib/crypto-selftests.c

index 64390686b4242e4e4df0e2a4f9452d6917b47e74..1f2933830256033662ecbce2b4b397a550cde53b 100644 (file)
@@ -654,7 +654,7 @@ cleanup:
 }
 #endif
 
-/**
+/*-
  * gnutls_pk_self_test:
  * @all: if non-zero then tests to all public key algorithms are performed.
  * @pk: the algorithm to use
@@ -664,7 +664,7 @@ cleanup:
  * Returns: Zero or a negative error code on error.
  *
  * Since: 3.3.0-FIPS140
**/
-*/
 int gnutls_pk_self_test(unsigned all, gnutls_pk_algorithm_t pk)
 {
        int ret;
index 60cce4f48095517281eb80a1b1f68358ab7f4113..ddf15a45544352b5bd9371aade929e8630f42c6c 100644 (file)
@@ -667,7 +667,7 @@ static int test_mac(gnutls_mac_algorithm_t mac,
                        if (all == 0 || ret < 0) \
                                return ret
 
-/**
+/*-
  * gnutls_cipher_self_test:
  * @all: if non-zero then tests to all ciphers are performed.
  * @cipher: the encryption algorithm to use
@@ -678,7 +678,7 @@ static int test_mac(gnutls_mac_algorithm_t mac,
  * Returns: Zero or a negative error code on error.
  *
  * Since: 3.3.0-FIPS140
**/
-*/
 int gnutls_cipher_self_test(unsigned all, gnutls_cipher_algorithm_t cipher)
 {
        int ret;
@@ -710,7 +710,7 @@ int gnutls_cipher_self_test(unsigned all, gnutls_cipher_algorithm_t cipher)
        return 0;
 }
 
-/**
+/*-
  * gnutls_mac_self_test:
  * @all: if non-zero then tests to all ciphers are performed.
  * @mac: the message authentication algorithm to use
@@ -720,7 +720,7 @@ int gnutls_cipher_self_test(unsigned all, gnutls_cipher_algorithm_t cipher)
  * Returns: Zero or a negative error code on error.
  *
  * Since: 3.3.0-FIPS140
**/
-*/
 int gnutls_mac_self_test(unsigned all, gnutls_mac_algorithm_t mac)
 {
        int ret;
@@ -745,7 +745,7 @@ int gnutls_mac_self_test(unsigned all, gnutls_mac_algorithm_t mac)
        return 0;
 }
 
-/**
+/*-
  * gnutls_digest_self_test:
  * @all: if non-zero then tests to all ciphers are performed.
  * @digest: the digest algorithm to use
@@ -755,7 +755,7 @@ int gnutls_mac_self_test(unsigned all, gnutls_mac_algorithm_t mac)
  * Returns: Zero or a negative error code on error.
  *
  * Since: 3.3.0-FIPS140
**/
-*/
 int gnutls_digest_self_test(unsigned all, gnutls_digest_algorithm_t digest)
 {
        int ret;