[PATCH] AES & GCM: copy look-up tables from .rodata section to .data

Jussi Kivilinna jussi.kivilinna at iki.fi
Fri May 31 16:35:53 CEST 2019


On 31.5.2019 2.42, Ian Goldberg wrote:
> On Thu, May 30, 2019 at 08:17:37PM +0300, Jussi Kivilinna wrote:
>> +      /* Copy look-up tables from .rodata section to .data to avoid
>> +       * sharing physical memory between processes. */
> 
> Are you keeping some unique data on the same page to avoid kernel
> same-page merging?
> 

Thanks for pointing about same-page merging. I'll take different
approach to handle page merging.

-Jussi



More information about the Gcrypt-devel mailing list