herumi/mcl
View on GitHub ↗ ★ 532 C++
a portable and fast pairing-based cryptography library
3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2020-04-22 · latest 2022-04-04
20082026
-
▲ 1
Mcl – a portable and fast pairing-based cryptography librarystory by maydemir · 2022-04-04 · 0 comments
-
…ADC. For the iXYZ themselves, the carries are properly handled and it can generate mulx at least: https://github.com/herumi/mcl/blob/master/src/asm/x86-64.bmi... (from straight LLVM IR). I don't think ADCX/ADOX are possible though even in…
comment by mratsim · 2020-04-22 · in The new Clang _ExtInt feature provides exact bitwidth integer types -
…for modular inversion where constant-time inversion is about 20x slower than GMP inversion. Source: https://github.com/herumi/mcl#how-to-build-without-gmp this code has GMP backend, LLVM i254 / LLVM i381 backend, or it's own JIT compiler…
comment by mratsim · 2020-04-22 · in The new Clang _ExtInt feature provides exact bitwidth integer types