vernamlab / DHS-LTV

The library provides a homomorphic encryption scheme by Doroz, Hu and Sunar, along with various applications. The scheme is a variant of Lopez-Alt, Tromer and Vaikuntanathan Homomorphic Encryption.
MIT License
7 stars 4 forks source link

modular switching #2

Closed Jyun-Neng closed 6 years ago

Jyun-Neng commented 6 years ago

In RoundModp function, it's redundant to check if tm0>tm1 or tm1>tm0.