SILC Core Library SILC Auth API SILC Channel API SILC Command API SILC ID API SILC ID Cache API SILC Modes SILC Notify API SILC Packet API SILC Payload API SILC Private API SILC Math Library SILC Math API SILC MP API SILC SFTP Library SILC SFTP API SILC SFTP Filesystems SILC Utility Library SILC Buffer API SILC Buffer Format API SILC Buffer Utility API SILC Hash Table API SILC Log and Debug API SILC Memory API SILC Mutex API SILC Thread API SILC Net API SILC Schedule API SILC Socket Connection API SILC Protocol API SILC Util API SILC Zip API SILC List API SILC Dynamic List API SILC Key Exchange Library SILC SKE API SILC SKE Status SILC Client Library SILC Client API SILC Crypto Library SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API SILC RNG API
Function silc_hmac_make_truncated SYNOPSIS
        void silc_hmac_make_truncated(SilcHmac hmac,
                                      unsigned char *data,
                                      uint32 data_len,
                                      uint32 truncated_len,
                                      unsigned char *return_hash);
DESCRIPTION
        Same as the silc_hmac_make except that the returned MAC is
        truncated to the length indicated by the `truncated_len'.  Some
        special applications may need this function.  The `return_hash'
        must be at least the size of `truncated_len'.
NOTES
        For security reasons, one should not truncate to less than half
        of the length of the true MAC lenght.  However, since this routine
        may be used to non-critical applications this allows these dangerous
        truncations.
>> SilcHMACAPI >> SilcHmac >> SilcHmacObject >> silc_hmac_register >> silc_hmac_unregister >> silc_hmac_register_default >> silc_hmac_alloc >> silc_hmac_free >> silc_hmac_is_supported >> silc_hmac_get_supported >> silc_hmac_len >> silc_hmac_get_hash >> silc_hmac_get_name >> silc_hmac_set_key >> silc_hmac_make >> silc_hmac_make_with_key >> silc_hmac_make_truncated >> silc_hmac_init >> silc_hmac_init_with_key >> silc_hmac_update >> silc_hmac_final