You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Montgomery Multiplication for refactored metal EC backend (#23)
* feat: import mont_mul backend from https://github.com/geometryxyz/msl-secp256k1
* feat: conversion between bigint and arbitrary limb size
* test(bigint): add host test
* test(bigint): adapt from https://github.com/geometryxyz/msl-secp256k1
* refactor: add overflow detection and correct suitable bigint val for each cases
* chore: update path for contants.metal
* test(mont_mul): adapted mont mul tests from https://github.com/geometryxyz/msl-secp256k1
* feat(mont_mul): adapted utils function related to mont_mul from https://github.com/geometers/multiprecision
* feat: add limbs conversion from ark_ff bigint to arbitrary limbs in Vec<u32>
* chore: update path for utils for limb conversion
* fix(mont_mul): correct the conversion from arkworks' scalarfield to arbitrary limbs of Vec<u32>
* test(mont_mul): adapted benchmark functions from https://github.com/geometryxyz/msl-secp256k1
* feat(metal): add mont_mul cios
* test(mont_mul): add cios mont_mul test and benchmark
0 commit comments