Skip to content

Commit da450f9

Browse files
authored
[feat] make serial_batch_inversion_and_mul public (#971)
* Update mod.rs * Update CHANGELOG.md
1 parent 05e3faa commit da450f9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Pending
44

5+
6+
- [\#971](https://github.com/arkworks-rs/algebra/pull/971) (`ark-ff`) Make serial_batch_inversion_and_mul public.
57
- Consolidated logic into `bitreverse_permutation_in_place` and made it public.
68
- Remove redundant type constraints from `Pairing::G1Prepared`.
79

ff/src/fields/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ pub fn batch_inversion_and_mul<F: Field>(v: &mut [F], coeff: &F) {
378378

379379
/// Given a vector of field elements {v_i}, compute the vector {coeff * v_i^(-1)}.
380380
/// This method is explicitly single-threaded.
381-
fn serial_batch_inversion_and_mul<F: Field>(v: &mut [F], coeff: &F) {
381+
pub fn serial_batch_inversion_and_mul<F: Field>(v: &mut [F], coeff: &F) {
382382
// Montgomery’s Trick and Fast Implementation of Masked AES
383383
// Genelle, Prouff and Quisquater
384384
// Section 3.2

0 commit comments

Comments
 (0)