silc_cipher_alloc

SYNOPSIS

    SilcBool silc_cipher_alloc(const char *name,
                               SilcCipher *new_cipher);

DESCRIPTION

Allocates a new SILC cipher object. Function returns TRUE on succes and FALSE on error. The allocated cipher is returned in new_cipher argument. The caller must set the key to the cipher after this function has returned by calling the silc_cipher_set_key.

See Ciphers for supported ciphers.