Re: [PATCH] crypto modules: the integer literals in BLOCKSIZE may be too large

2016-01-10 Thread Paul Eggert
Hong Xu wrote: The BLOCKSIZE is defined as 32768, which may be too large if the default signed integer size is no larger than 16 bits. GNU code as a rule does not worry about machines where 'int' is less than 32 bits. POSIX requires 'int' to be at least 32 bits nowadays.

[PATCH] crypto modules: the integer literals in BLOCKSIZE may be too large

2016-01-10 Thread Hong Xu
The BLOCKSIZE is defined as 32768, which may be too large if the default signed integer size is no larger than 16 bits. --- lib/md2.c| 5 +++-- lib/md4.c| 5 +++-- lib/md5.c| 5 +++-- lib/sha1.c | 5 +++-- lib/sha256.c | 5 +++-- lib/sha512.c | 5 +++-- 6 files changed, 18 insertions