~ubuntu-branches/ubuntu/vivid/unrar-nonfree/vivid

« back to all changes in this revision

Viewing changes to sha1.hpp

  • Committer: Package Import Robot
  • Author(s): Martin Meredith
  • Date: 2015-02-03 12:58:01 UTC
  • mfrom: (1.1.18) (5.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20150203125801-od6ev8cqy1er51vz
Tags: 1:5.2.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    unsigned char buffer[64];
10
10
 
11
11
    unsigned char workspace[64]; // Temporary buffer.
12
 
} hash_context;
 
12
} sha1_context;
13
13
 
14
 
void hash_initial( hash_context * c );
15
 
void hash_process( hash_context * c, unsigned char * data, size_t len,
 
14
void sha1_init( sha1_context * c );
 
15
void sha1_process( sha1_context * c, const byte *data, size_t len,
16
16
                   bool handsoff);
17
 
void hash_final( hash_context * c, uint32[HW], bool handsoff);
 
17
void sha1_done( sha1_context * c, uint32[HW], bool handsoff);
18
18
 
19
19
#endif