caller must set the key to the cipher after this function has returned
by calling the ciphers set_key function. */
-SilcBool silc_cipher_alloc(const unsigned char *name, SilcCipher *new_cipher)
+SilcBool silc_cipher_alloc(const char *name, SilcCipher *new_cipher)
{
SilcCipherObject *entry = NULL;
int i;
/* Returns TRUE if cipher `name' is supported. */
-SilcBool silc_cipher_is_supported(const unsigned char *name)
+SilcBool silc_cipher_is_supported(const char *name)
{
SilcCipherObject *entry;
int i;
*
* SYNOPSIS
*
- * SilcBool silc_cipher_alloc(const unsigned char *name,
+ * SilcBool silc_cipher_alloc(const char *name,
* SilcCipher *new_cipher);
*
* DESCRIPTION
* Notes about modes:
*
***/
-SilcBool silc_cipher_alloc(const unsigned char *name, SilcCipher *new_cipher);
+SilcBool silc_cipher_alloc(const char *name, SilcCipher *new_cipher);
/****f* silccrypt/SilcCipherAPI/silc_cipher_free
*
*
* SYNOPSIS
*
- * SilcBool silc_cipher_is_supported(const unsigned char *name);
+ * SilcBool silc_cipher_is_supported(const char *name);
*
* DESCRIPTION
*
* Returns TRUE if cipher `name' is supported.
*
***/
-SilcBool silc_cipher_is_supported(const unsigned char *name);
+SilcBool silc_cipher_is_supported(const char *name);
/****f* silccrypt/SilcCipherAPI/silc_cipher_get_supported
*
/* Allocates a new SilcHash object. New object is returned into new_hash
argument. */
-SilcBool silc_hash_alloc(const unsigned char *name, SilcHash *new_hash)
+SilcBool silc_hash_alloc(const char *name, SilcHash *new_hash)
{
SilcHashObject *entry = NULL;
int i;
/* Returns TRUE if hash algorithm `name' is supported. */
-SilcBool silc_hash_is_supported(const unsigned char *name)
+SilcBool silc_hash_is_supported(const char *name)
{
SilcHashObject *entry;
int i;
*
* SYNOPSIS
*
- * SilcBool silc_hash_alloc(const unsigned char *name, SilcHash *new_hash);
+ * SilcBool silc_hash_alloc(const char *name, SilcHash *new_hash);
*
* DESCRIPTION
*
* returns FALSE if such hash function does not exist.
*
***/
-SilcBool silc_hash_alloc(const unsigned char *name, SilcHash *new_hash);
+SilcBool silc_hash_alloc(const char *name, SilcHash *new_hash);
/****f* silccrypt/SilcHashAPI/silc_hash_alloc_by_oid
*
*
* SYNOPSIS
*
- * SilcBool silc_hash_is_supported(const unsigned char *name);
+ * SilcBool silc_hash_is_supported(const char *name);
*
* DESCRIPTION
*
* Returns TRUE if the hash function indicated by the `name' exists.
*
***/
-SilcBool silc_hash_is_supported(const unsigned char *name);
+SilcBool silc_hash_is_supported(const char *name);
/****f* silccrypt/SilcHashAPI/silc_hash_get_supported
*