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

« back to all changes in this revision

Viewing changes to librhash/edonr.c

  • 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:
427
427
                if(IS_LITTLE_ENDIAN && IS_ALIGNED_32(msg))
428
428
#endif
429
429
                {
430
 
                        /* the most common case is processing a 32-bit aligned message 
 
430
                        /* the most common case is processing a 32-bit aligned message
431
431
                        on a little-endian CPU without copying it */
432
432
                        size_t count = size / edonr256_block_size;
433
433
                        rhash_edonr256_process_block(ctx->u.data256.hash, (unsigned*)msg, count);
520
520
                if(IS_LITTLE_ENDIAN && IS_ALIGNED_64(msg))
521
521
#endif
522
522
                {
523
 
                        /* the most common case is processing a 64-bit aligned message 
 
523
                        /* the most common case is processing a 64-bit aligned message
524
524
                        on a little-endian CPU without copying it */
525
525
                        size_t count = size / edonr512_block_size;
526
526
                        rhash_edonr512_process_block(ctx->u.data512.hash, (uint64_t*)msg, count);