June 19, 2021


Dedicated Forum to help removing adware, malware, spyware, ransomware, trojans, viruses and more!

Hashing to elliptic curves of $j=0$ and quadratic imaginary orders of class number $2$, by Dmitrii Koshelev

In this article we produce the simplified SWU encoding to some Barreto–Naehrig curves, including BN512, BN638 from the standards ISO/IEC 15946-5 and TCG Algorithm Registry respectively. Moreover, we show (for any $j$-invariant) how to implement the simplified SWU encoding in constant time of one exponentiation in the basic field, namely without quadratic residuosity tests and inversions. Thus in addition to the protection against timing attacks, the new encoding turns out to be much more efficient than the (universal) SWU encoding, which generally requires to perform two quadratic residuosity tests.