To gcrypt-devel, Power 8 version is submitted.
In the upstream reference implementation, we can find the one with AVX2.
It's good libgcrypt incorporate those.
To gcrypt-devel, Power 8 version is submitted.
In the upstream reference implementation, we can find the one with AVX2.
It's good libgcrypt incorporate those.
I rebase the branch gniibe/t8204 to master.
The commit rC320f0d209bff: Clean up unused functions. has compile-time selection with AVX2.
Then, I realized that libgcrypt always offers runtime selection of such CPU specific feature.
Thus, I modified the implementation like:
In the reference implementation of Dilithium, AVX2 version has a commit of 5eaf6e94129967a89f7f2cb51006ff2666beac4d, for better data locality in signature generation.
To respect this improvement, we don't share crypto_sign_signature_internal and crypto_sign_verify_internal between non-vector version and AVX2 version.