Package: rhash / 1.2.9-8+deb7u1

Metadata

Package Version Patches format
rhash 1.2.9-8+deb7u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_configure bindings.patch | (download)

bindings/Makefile | 28 19 + 9 - 0 !
bindings/ruby/extconf.rb | 2 1 + 1 - 0 !
2 files changed, 20 insertions(+), 10 deletions(-)

 build dependencies corrected
 The patch fixes failed concurent builds of language bindings.
 Build targets now depend on configuration ones.

02_python_function_prototypes.patch | (download)

bindings/python/rhash.py | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 add librhash function prototypes
 The patch fixes crash on ia64 arch, caused by incorrect arguments marshalling.

03_fix_sha512_and_gost.patch | (download)

librhash/gost.c | 4 2 + 2 - 0 !
librhash/sha512.c | 1 1 + 0 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 fix calculation of sha-512 and gost hash
 This patch backports two critical bug fixes from RHash 1.2.10.
 SHA-512 was not correctly calculated for files with size
   112 <= (file_size % 128) < 120.
 The bug occurs only when several files are sequentually hashed.
 .
 Internal buffer of SHA-512 context was not fully cleared by zeroes,
 when processing final block of data.
 See also SF-Bug: https://sourceforge.net/p/rhash/bugs/31/
 .
 Also the GOST R 34.11-94 hash was broken on non x86 CPUs
 on some messages containg sequences of words 0xFFFFFFFF.
 The bug does not occur on x86 and x86-64, because
 on these archs assembly code replaces C.