Changeset 5529:d86f148f08b2 in roaraudio for include


Ignore:
Timestamp:
06/12/12 09:18:12 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Implemented SHA1 support (Closes: #232)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/hash.h

    r5381 r5529  
    109109int roar_hash_salted_buffer(void * digest, const void * data, size_t datalen, roar_hash_t algo, const void * salt, size_t saltlen); 
    110110 
     111 
     112// 'forwardings' for hashes without own header: 
     113struct roar_hash_sha1 { 
     114 uint32_t state[5]; 
     115 uint64_t count; 
     116 size_t in_buffer; 
     117 char buffer[64]; 
     118 int is_final; 
     119}; 
     120 
    111121#endif 
    112122 
Note: See TracChangeset for help on using the changeset viewer.