[PATCH] Add SM3 x86-64 AVX/BMI2 assembly implementation

Jacob Bachmeyer jcb62281 at gmail.com
Fri Dec 17 21:54:39 CET 2021


Jussi Kivilinna wrote:
> On 17.12.2021 1.55, Jacob Bachmeyer via Gcrypt-devel wrote:
>> Tianjia Zhang via Gcrypt-devel wrote:
>>> Hi Jussi,
>>>
>>> On 12/15/21 1:58 AM, Jussi Kivilinna wrote:
>>>> Hello,
>>>>
>>>> On 14.12.2021 9.21, Tianjia Zhang via Gcrypt-devel wrote:
>>>>>
>>>>> Great job, it is very valuable to us, if possible, add this tag:
>>>>>
>>>>> Reviewed-and-tested-by: Tianjia Zhang 
>>>>> <tianjia.zhang at linux.alibaba.com>
>>>>
>>>> Thanks. Pushed commit to master with few changes to inline code 
>>>> comments.
>>>>
>>>> -Jussi
>>>
>>> Thanks for your contribution. If possible, I will also port this 
>>> accelerated implementation to the linux kernel in the future.
>>
>> Uh, check license compatibility on that:  off the top of my head, I 
>> suspect GPG is GPLv3+, while Linux is GPLv2.  You may need additional 
>> permission to distribute that code under GPLv2 to port it to the 
>> Linux kernel.
>>
>
> libgcrypt license is LGPL2.1+, so no issues with moving code to Linux 
> kernel / GPLv2.

Well, then I misremembered and there is no problem after all.


-- Jacob




More information about the Gcrypt-devel mailing list