[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HELP] cryptomount is slow, what is the proper way to [PATCH] libgcr
Re: [HELP] cryptomount is slow, what is the proper way to [PATCH] libgcrypt-grub?
Sun, 28 Jan 2018 17:03:15 +0800
> In GRUB SSE registers are disabled. If you want to use SSE, you need to
> make sure you enable them and that they are disabled again before kernel
Thanks for the tip.
>> I have no idea about how to integrate my changes. For example, how to link
>> .c and .S assembly together in the same GRUB module by changing
>> I can't understand. From some comments, modifications of libgcrypt itself
>> is not
>> allowed at all, and import_gcry.py should do all the additional fixups?
> Yes, just put your version of libgcrypt there and rerun ./autogen.sh
I've added a .S file for the additional assembly code to be link with
sha512.c, but apparently import_gcry.py doesn't know how to preprocess
WARNING: unknown file sha512-sse2-x86.S
I've read import_gcry.py but the preprocessing is pretty complicated.
What is the correct way to make my assembly code be recognized and
preprocessed as a grub module by the script?