Re: SHA, MD, and openssl

2013-12-13 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Note I've changed coreutils not automatically use these routines where availa

Re: [PATCH] signed integer overflow undefined behavior

2013-12-13 Thread Paul Eggert
On 12/12/2013 10:12 PM, Eric Lubin wrote: > he disregards the fact that integer overflow is undefined in C No, it's listed in FIXME comments: /* FIXME: Check for arithmetic overflow in all cases, not just some of them. */ ... /* FIXME: It also assumes that signed integer overflow silently wrap

Re: SHA, MD, and openssl

2013-12-13 Thread Pádraig Brady
On 12/13/2013 12:21 PM, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > But SHA1 and SHA256 are

Re: SHA, MD, and openssl

2013-12-13 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] But SHA1 and SHA256 are commonly available accelerated in hardware. For this

Re: uc_width and wcwidth optimization

2013-12-13 Thread Alexander V. Lukyanov
On 12/13/2011 11:32 AM, Bruno Haible wrote: > I would love to have locale_charset be either faster or use some thread-safe > cache. Do you have an idea how to realize this? For quite some time I use this locale_charset optimization, which uses binary search for locale alias resolution. -- Ale

[PATCH] signed integer overflow undefined behavior

2013-12-13 Thread Eric Lubin
From 1a52c994df8ca00fb22c8d3be9860f3996c83440 Mon Sep 17 00:00:00 2001 From: Eric Lubin Date: Thu, 12 Dec 2013 21:47:21 -0800 Subject: [PATCH 1/1] Fixed undefined integer overflow checks that were being optimized out by the compiler The code in question shows that the developer clearly spent som