Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 07:21:08 +0200
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        "Conrad E. Meyer" <cem@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r300773 - in head/sys: crypto crypto/aesni crypto/sha2 crypto/siphash kern sys
Message-ID:  <CAALwa8kWMykJE7c12TkGPvsYFEH5aQY7zJVq4R96DrcDutXryw@mail.gmail.com>
In-Reply-To: <201605261929.u4QJTTV5085421@repo.freebsd.org>
References:  <201605261929.u4QJTTV5085421@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 26, 2016 at 9:29 PM, Conrad E. Meyer <cem@freebsd.org> wrote:
> Author: cem
> Date: Thu May 26 19:29:29 2016
> New Revision: 300773
> URL: https://svnweb.freebsd.org/changeset/base/300773
>
> Log:
>   crypto routines: Hint minimum buffer sizes to the compiler
>
>   Use the C99 'static' keyword to hint to the compiler IVs and output digest
>   sizes.  The keyword informs the compiler of the minimum valid size for a given
>   array.  Obviously not every pointer can be validated (i.e., the compiler can
>   produce false negative but not false positive reports).
>
>   No functional change.  No ABI change.
>
>   Sponsored by: EMC / Isilon Storage Division

This breaks some ports:
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p415919_s300812/logs/errors/x265-1.9.log

Cheers,

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8kWMykJE7c12TkGPvsYFEH5aQY7zJVq4R96DrcDutXryw>