



@deftypefun {int} {gnutls_cipher_self_test} (unsigned @var{all}, gnutls_cipher_algorithm_t @var{cipher})
@var{all}: if non-zero then tests to all ciphers are performed.

@var{cipher}: the encryption algorithm to use

This function will run self tests on the provided cipher or all
available ciphers if  @code{all} is non-zero.

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

@strong{Since:} 3.3.0
@end deftypefun
