~ubuntu-branches/ubuntu/trusty/rhash/trusty

« back to all changes in this revision

Viewing changes to librhash/whirlpool.h

  • Committer: Bazaar Package Importer
  • Author(s): Aleksey Kravchenko
  • Date: 2011-08-14 20:35:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110814203500-rvnovipwcpqkm91u
Tags: 1.2.7-1
* New upstream release version 1.2.7
 - Fixes security issue (Closes: #632280)
 - changed author/mantainer name to the way I prefer s/Alexey S/Aleksey/
 - simplified desriptions of binary packages
 - wriiten rules in more now standard way, using CFLAGS/LDFLAGS
 - reworded README.Debian a bit
 - aplied patch from upstream to fix possible segfault
 - aplied patch from upstream to fix glibc runtime warning
 - aplied patch from upstream to repair -openssl option handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        uint64_t hash[8];    /* 512-bit algorithm internal hashing state */
16
16
        unsigned char message[whirlpool_block_size]; /* 512-bit buffer to hash */
17
17
 
18
 
        /* Note: original algorith uses 256-bit counter, allowing to hash up to 
19
 
           2^256 bits sized message. For optimization we use here 64-bit counter, 
 
18
        /* Note: original algorith uses 256-bit counter, allowing to hash up to
 
19
           2^256 bits sized message. For optimization we use here 64-bit counter,
20
20
           thus reducing maximal message size to 2^64 bits = 2 Exbibytes = 2^21 TiB) */
21
21
        uint64_t length;     /* number of processed bytes */
22
22
} whirlpool_ctx;