gnutls_cipher_self_test3
Api function
Usage
#include <gnutls/gnutls.h>
int gnutls_cipher_self_test(unsigned all, gnutls_cipher_algorithm_t cipher);
Arguments
unsigned all
|
if non-zero then tests to all ciphers are performed. |
|---|---|
gnutls_cipher_algorithm_t cipher
|
the encryption algorithm to use |
Overview
This function will run self tests on the provided cipher or all available ciphers if all is non-zero.
Returns
Zero or a negative error code on error.
Since
3.3.0