Skip to main content

bigint_mul_mod_be

Function bigint_mul_mod_be 

Source
fn bigint_mul_mod_be(a: &[u8], b: &[u8], n: &[u8]) -> Vec<u8> ⓘ
Expand description

任意精度整数(固定長ビッグエンディアン k バイト)のモジュラ乗算 (a * b) mod n を計算する。 前提: a.len() == k, b.len() == k, n.len() == k, かつ a < n, b < n。