tomcrypt/src
Jonathan Herzog 3324da2601 Fixed small padding error in the PKCS#1 PSS code.
The existing LTC code for padding meassages for PSS signatures
contained a small error. In particular, the PSS-passing algorithms is
supposed to be given (bitlength of key - 1) as an argument. The LTC
code passes (bitlength of key), and subtracts 1 in the middle of the
PSS-padding. This subtraction unfortunately comes too late: a
calculation using that argument has already been made. Fortunately,
this bug only appeared if the bit-length of the key was 1 mod 8, and
so is unlikely to show up in practice. Still, this patch fixes the
problem.

Conflicts:
	src/pk/pkcs1/pkcs_1_pss_decode.c
2014-08-28 13:30:25 +02:00
..
ciphers re-enable "unused-parameters" warning 2014-08-24 18:25:24 +02:00
encauth add LTC prefix to most macros 2014-07-17 10:50:36 +02:00
hashes fix hash ID's of ripemd 256 & 320 2014-08-26 17:42:10 +02:00
headers re-enable "unused-parameters" warning 2014-08-24 18:25:24 +02:00
mac pmac_init: prevent possible out of bounds access of polys[] 2014-05-25 00:35:03 +02:00
math add LTC prefix to most macros 2014-07-17 10:50:36 +02:00
misc Hash functions now check for input-length overflow. 2014-08-06 19:06:00 +02:00
modes add LTC prefix to most macros 2014-07-17 10:50:36 +02:00
pk Fixed small padding error in the PKCS#1 PSS code. 2014-08-28 13:30:25 +02:00
prngs re-enable "unused-parameters" warning 2014-08-24 18:25:24 +02:00