gf128_add can be marked as __pure2

Eitan Adler lists at eitanadler.com
Wed Jun 13 10:29:39 UTC 2018


On 17 March 2018 at 11:38, Eitan Adler <lists at eitanadler.com> wrote:
> On 17 March 2018 at 10:38, John-Mark Gurney <jmg at funkthat.com> wrote:
>> Eitan Adler wrote this message on Mon, Feb 19, 2018 at 19:15 -0800:
>>> Is there any reason not to apply this patch?
>>
>> I don't see why there wouldn't be..
>>
>>> __pure2 means  __attribute__((const)) which is correct in this case as
>>>  gf128_add read no global memory:

For extra clarity, since this is crypto related, can you please accept
here: https://reviews.freebsd.org/D15786


-- 
Eitan Adler


More information about the freebsd-hackers mailing list