Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/philogy/remco-mul-verification


https://github.com/philogy/remco-mul-verification

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# Verification of Remco's full 256x256 bit multiplication

This repo attempts to verify Remco's widely used `mulDiv` function.

At the moment it **only verifies** that the computation of the upper 256 bits of the 512 bit product
via `sub(sub(x1, x0), lt(x1, x0))` is verified.

Furthermore it verifies a specialization of `fullMulDiv` where the denominator is fixed to `2^128`.

Credit to Remco Bloemen under MIT license: [2π.com/17/chinese-remainder-theorem/](https://xn--2-umb.com/17/chinese-remainder-theorem/)