awslabs / bike-kem

Additional implementation of BIKE (Bit Flipping Key Encapsulation)
Apache License 2.0
45 stars 11 forks source link

Encaps speedup with vector instructions on AVX2 and AVX512. #7

Closed nKolja closed 3 years ago

nKolja commented 3 years ago

Keygen speedup with vector instructions on AVX2 and AVX512.. For this use new macros have been added to bike_defs.h, defs.h and x86_64_intrinsic.h. DIVIDE_AND_CEIL has been changed due to being erroneous on inputs which are multiples of the divisor.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

drucker-nir commented 3 years ago

Dear Novak,

Thank you for submitting this PR. We will review it as soon as possible.

Regarding the title of this PR: I see that the performance difference applies only to the encapsulation phase and not for the keygen. I suggest a change in the title accordingly.