



@deftypefun {int} {gnutls_digest_self_test} (unsigned @var{all}, gnutls_digest_algorithm_t @var{digest})
@var{all}: if non-zero then tests to all ciphers are performed.

@var{digest}: the digest algorithm to use

This function will run self tests on the provided digest.

@strong{Returns:} Zero or a negative error code on error.

@strong{Since:} 3.3.0
@end deftypefun
