Bug#841983: haskell-cryptonite: Fix alignment of blocks in sha3_update()

Steve Langasek steve.langasek at canonical.com
Tue Oct 25 00:14:47 UTC 2016


On Tue, Oct 25, 2016 at 12:08:12AM +0000, Clint Adams wrote:
> On Mon, Oct 24, 2016 at 05:01:26PM -0700, Steve Langasek wrote:
> > In Ubuntu, we've observed a build failure of haskell-cryptonite on armhf
> > owing to the fact that our armhf builders run on an arm64 kernel which
> > raises SIGBUS on unaligned access.  While most of the hash implementations
> > have compatible alignment assumptions, SHA3 uses 64-bit blocks, which
> > triggers this problem.

> Should this go upstream as well?

I would think so, yes.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20161024/2c514803/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list