Copyright © 2001 - 2005 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index

SILC Toolkit Reference Manual SILC Core Library SILC Authentication Interface SILC Message Interface SILC Channel Interface SILC Command Interface SILC Notify Interface SILC Status Types SILC Modes SILC ID Interface SILC ID Cache Interface SILC Argument Interface SILC Attributes Interface Packet Protocol Interface SILC Utility Library Basic SILC Types SILC Buffer Interface SILC Buffer Format Interface SILC Hash Table Interface SILC Logging Interface SILC Memory Interface SILC Mutex Interface SILC Thread Interface SILC Network Interface SILC Schedule Interface SILC Socket Interface SILC Protocol Interface SILC Config Interface SILC File Util Interface SILC String Util Interface SILC UTF-8 Interface SILC Stringprep Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC VCard Interface SILC Application Utilities SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC PKCS API SILC PKCS#1 API SILC Hash Interface SILC HMAC Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Client Library Using SILC Client Library Tutorial Arguments for command_reply Client Operation SilcStatus Error Arguments in command_reply Client Operation Arguments for notify Client Operation Unicode and UTF-8 Strings in Client Library Client Library Interface Reference SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Math Library SILC MP Interface SILC Math Interface Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQs
Function silc_hash_update SYNOPSIS
        void silc_hash_update(SilcHash hash, const unsigned char *data,
                              SilcUInt32 data_len);
DESCRIPTION
        This function may be called to add data to be used in the digest
        computation.  This can be called multiple times to add data from
        many sources before actually computing the digest.  Once you've
        added all the data you need you can call the silc_hash_final to
        actually produce the message digest value.
EXAMPLE
        unsigned char digest[20];

        silc_hash_init(hash);
        silc_hash_update(hash, data, data_len);
        silc_hash_update(hash, more_data, more_data_len);
        silc_hash_final(hash, digest);
SILC Hash Interface SilcHash SilcHashObject silc_hash_register silc_hash_unregister silc_hash_register_default silc_hash_unregister_all silc_hash_alloc silc_hash_free silc_hash_is_supported silc_hash_get_supported silc_hash_len silc_hash_block_len silc_hash_get_name silc_hash_make silc_hash_init silc_hash_update silc_hash_final silc_hash_transform silc_hash_fingerprint silc_hash_babbleprint

Copyright © 2001 - 2005 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index