Docs.rs
pqcrypto-std-0.1.0
pqcrypto-std 0.1.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
jrg1k
Dependencies
rand_core ^0.6.4
normal
sha3 ^0.10.8
normal
hex ^0.4.3
dev
rand ^0.8.5
dev
serde ^1.0.210
dev
serde_json ^1.0.128
dev
Versions
20.69%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
pqcrypto_
std
0.1.0
Module reduce
Module Items
Constants
Functions
In crate pqcrypto_
std
pqcrypto_std
Module
reduce
Copy item path
source
Constants
§
QINV
R2_
MOD_
Q
R_MOD_Q
Functions
§
barrett_
reduce
map a -> a (mod Q)
mont_
mul
map ab -> abR^{-1} (mod Q)
redc
map a -> aR^{-1} (mod Q)
to_mont
map a -> aR (mod Q)