| 1 |
<internal_defines> |
| 2 |
KECCAK_PERM_BMI2 -> 20230612 |
| 3 |
</internal_defines> |
| 4 |
|
| 5 |
<module_info> |
| 6 |
name -> "KECCAK-permutation BMI2" |
| 7 |
brief -> "KECCAK-permutation for SHA-3-related functions using BMI2 instructions" |
| 8 |
</module_info> |
| 9 |
|
| 10 |
<isa> |
| 11 |
bmi2 |
| 12 |
</isa> |
| 13 |
|
| 14 |
# Needs 64-bit registers to be useful |
| 15 |
<arch> |
| 16 |
x86_64 |
| 17 |
</arch> |
| 18 |
|
| 19 |
<requires> |
| 20 |
cpuid |
| 21 |
</requires> |
| 22 |
|
| 23 |
# It doesn't make sense to use this on MSVC since it doesn't |
| 24 |
# have any way of enabling BMI2 codegen |
| 25 |
<cc> |
| 26 |
!msvc |
| 27 |
</cc> |