Changeset 4669:a539a066ee64 in roaraudio


Ignore:
Timestamp:
12/19/10 19:48:38 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/hash_tiger.h

    r4458 r4669  
    4747}; 
    4848 
     49// init and deinit functions: 
    4950int roar_hash_tiger_init(struct roar_hash_tiger * state); 
    5051int roar_hash_tiger_uninit(struct roar_hash_tiger * state); 
    5152 
     53// functions needed for string internal state: 
    5254int roar_hash_tiger_init_from_pstate(struct roar_hash_tiger * state, void * oldstate); 
    5355int roar_hash_tiger_to_pstate(struct roar_hash_tiger * state, void * newstate, size_t * len); 
    5456ssize_t roar_hash_tiger_statelen(struct roar_hash_tiger * state); 
    5557 
     58// finalize, should not be called directly: 
    5659int roar_hash_tiger_finalize(struct roar_hash_tiger * state); 
     60 
     61// finalize and get final digest: 
    5762int roar_hash_tiger_get_digest(struct roar_hash_tiger * state, void * digest, size_t * len); 
    5863 
     64// optimized functions to process fixed size data blocks: 
    5965int roar_hash_tiger_proc_block(struct roar_hash_tiger * state, void * block); 
    6066ssize_t roar_hash_tiger_blocklen(struct roar_hash_tiger * state); 
    6167 
     68// normal function to process data: 
    6269int roar_hash_tiger_proc(struct roar_hash_tiger * state, void * data, size_t len); 
    6370 
Note: See TracChangeset for help on using the changeset viewer.