silc_mac_alloc

SYNOPSIS

    SilcBool silc_mac_alloc(const char *name, SilcMac *new_mac);

DESCRIPTION

Allocates a new SilcMac object of name of `name'. Returns FALSE if such MAC does not exist. After the MAC is allocated a key must be set for it by calling silc_mac_set_key.

See MACs for supported MAC algorithms.