silc_hash_alloc_by_oid

SYNOPSIS

    SilcBool silc_hash_alloc_by_oid(const char *oid, SilcHash *new_hash);

DESCRIPTION

Same as silc_hash_alloc but allocates the hash algorithm by the hash algorithm OID string indicated by `oid'. Returns FALSE if such hash function does not exist.

See Hash-OIDs for supported hash function OIDs.