svn commit: r300773 - in head/sys: crypto crypto/aesni crypto/sha2 crypto/siphash kern sys
Antoine Brodin
antoine at FreeBSD.org
Fri May 27 05:21:09 UTC 2016
On Thu, May 26, 2016 at 9:29 PM, Conrad E. Meyer <cem at 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
More information about the svn-src-head
mailing list