lambdaworks-math 0.10.0

Modular math library for cryptography
Documentation
Build #1345478 2024-09-02T18:12:25.421585+00:00
# rustc version
rustc 1.83.0-nightly (94885bc69 2024-09-01)# docs.rs version
docsrs 0.6.0 (a6155e2c 2024-08-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/lambdaworks-math-0.10.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/lambdaworks-math-0.10.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240901-1.83.0-nightly-94885bc69\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] dc3e3ae13cbf78a518045408a09606f4eb58e426ebb9432f3aa6831ed8619da1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dc3e3ae13cbf78a518045408a09606f4eb58e426ebb9432f3aa6831ed8619da1", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting lambdaworks-math v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `i`
[INFO] [stderr]   --> src/fft/cpu/fft.rs:58:72
[INFO] [stderr]    |
[INFO] [stderr] 58 | /// It's required that the twiddle factors are naturally ordered (so w[i] = w^i). Else this
[INFO] [stderr]    |                                                                        ^ no item named `i` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/short_weierstrass/curves/bls12_381/curve.rs:80:9
[INFO] [stderr]    |
[INFO] [stderr] 80 |     /// https://eprint.iacr.org/2022/352.pdf 4.3 Prop. 4
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 80 |     /// <https://eprint.iacr.org/2022/352.pdf> 4.3 Prop. 4
[INFO] [stderr]    |         +                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/elliptic_curve/short_weierstrass/curves/bls12_381/curve.rs:103:9
[INFO] [stderr]     |
[INFO] [stderr] 103 |     /// https://eprint.iacr.org/2022/352.pdf 4.2
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 103 |     /// <https://eprint.iacr.org/2022/352.pdf> 4.2
[INFO] [stderr]     |         +                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/short_weierstrass/curves/bn_254/curve.rs:46:13
[INFO] [stderr]    |
[INFO] [stderr] 46 |     /// See https://hackmd.io/@Wimet/ry7z1Xj-2#Subgroup-Checks.
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 46 |     /// See <https://hackmd.io/@Wimet/ry7z1Xj-2#Subgroup-Checks.>
[INFO] [stderr]    |             +                                                   +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/short_weierstrass/curves/bn_254/pairing.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | /// See https://hackmd.io/@jpw/bn254#Barreto-Naehrig-curves
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 30 | /// See <https://hackmd.io/@jpw/bn254#Barreto-Naehrig-curves>
[INFO] [stderr]    |         +                                                   +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/short_weierstrass/curves/bn_254/pairing.rs:37:18
[INFO] [stderr]    |
[INFO] [stderr] 37 | /// See the post https://hackmd.io/@Wimet/ry7z1Xj-2#The-Pairing.
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 37 | /// See the post <https://hackmd.io/@Wimet/ry7z1Xj-2#The-Pairing.>
[INFO] [stderr]    |                  +                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/short_weierstrass/curves/bn_254/pairing.rs:38:26
[INFO] [stderr]    |
[INFO] [stderr] 38 | /// See arkworks library https://github.com/arkworks-rs/algebra/blob/master/curves/bn254/src/curves/mod.rs#L21 (constant called ATE_LOOP_...
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 38 | /// See arkworks library <https://github.com/arkworks-rs/algebra/blob/master/curves/bn254/src/curves/mod.rs#L21> (constant called ATE_LOOP_COUNT).
[INFO] [stderr]    |                          +                                                                                     +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/short_weierstrass/curves/bn_254/pairing.rs:46:34
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// We took these constants from https://github.com/hecmas/zkNotebook/blob/main/src/BN254/constants.ts#L48
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// We took these constants from <https://github.com/hecmas/zkNotebook/blob/main/src/BN254/constants.ts#L48>
[INFO] [stderr]    |                                  +                                                                         +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/elliptic_curve/short_weierstrass/curves/bn_254/pairing.rs:219:26
[INFO] [stderr]     |
[INFO] [stderr] 219 | /// Algorithm taken from https://hackmd.io/@Wimet/ry7z1Xj-2#Final-Exponentiation.
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 219 | /// Algorithm taken from <https://hackmd.io/@Wimet/ry7z1Xj-2#Final-Exponentiation.>
[INFO] [stderr]     |                          +                                                        +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/elliptic_curve/short_weierstrass/curves/bn_254/pairing.rs:260:9
[INFO] [stderr]     |
[INFO] [stderr] 260 | /// See https://hackmd.io/@Wimet/ry7z1Xj-2#Fp12-Arithmetic (First Frobenius Operator).
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 260 | /// See <https://hackmd.io/@Wimet/ry7z1Xj-2#Fp12-Arithmetic> (First Frobenius Operator).
[INFO] [stderr]     |         +                                                  +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/unsigned_integer/element.rs:619:76
[INFO] [stderr]     |
[INFO] [stderr] 619 |     /// Adapted from Algorithm 14.9 of "Handbook of Applied Cryptography" (https://cacr.uwaterloo.ca/hac/)
[INFO] [stderr]     |                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 619 |     /// Adapted from Algorithm 14.9 of "Handbook of Applied Cryptography" (<https://cacr.uwaterloo.ca/hac/>)
[INFO] [stderr]     |                                                                            +                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/unsigned_integer/element.rs:647:77
[INFO] [stderr]     |
[INFO] [stderr] 647 |     /// Adapted from Algorithm 14.12 of "Handbook of Applied Cryptography" (https://cacr.uwaterloo.ca/hac/)
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 647 |     /// Adapted from Algorithm 14.12 of "Handbook of Applied Cryptography" (<https://cacr.uwaterloo.ca/hac/>)
[INFO] [stderr]     |                                                                             +                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/unsigned_integer/montgomery.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     /// https://www.microsoft.com/en-us/research/wp-content/uploads/1998/06/97Acar.pdf
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 10 |     /// <https://www.microsoft.com/en-us/research/wp-content/uploads/1998/06/97Acar.pdf>
[INFO] [stderr]    |         +                                                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/unsigned_integer/montgomery.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 81 |     /// https://eprint.iacr.org/2022/1400.pdf.
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 81 |     /// <https://eprint.iacr.org/2022/1400.pdf.>
[INFO] [stderr]    |         +                                      +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/elliptic_curve/edwards/curves/ed448_goldilocks.rs:16:20
[INFO] [stderr]    |
[INFO] [stderr] 16 |     /// Taken from https://www.rfc-editor.org/rfc/rfc7748#page-6
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 16 |     /// Taken from <https://www.rfc-editor.org/rfc/rfc7748#page-6>
[INFO] [stderr]    |                    +                                             +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/field/fields/p448_goldilocks_prime_field.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |     /// https://sourceforge.net/p/ed448goldilocks/code/ci/master/tree/src/p448/arch_ref64/f_impl.c
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 67 |     /// <https://sourceforge.net/p/ed448goldilocks/code/ci/master/tree/src/p448/arch_ref64/f_impl.c>
[INFO] [stderr]    |         +                                                                                          +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/field/fields/p448_goldilocks_prime_field.rs:166:20
[INFO] [stderr]     |
[INFO] [stderr] 166 |     /// Taken from https://sourceforge.net/p/ed448goldilocks/code/ci/master/tree/src/per_field/f_generic.tmpl.c
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 166 |     /// Taken from <https://sourceforge.net/p/ed448goldilocks/code/ci/master/tree/src/per_field/f_generic.tmpl.c>
[INFO] [stderr]     |                    +                                                                                            +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/unsigned_integer/element.rs:193:60
[INFO] [stderr]     |
[INFO] [stderr] 193 | /// Algorithm 14.12 of "Handbook of Applied Cryptography" (https://cacr.uwaterloo.ca/hac/)
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 193 | /// Algorithm 14.12 of "Handbook of Applied Cryptography" (<https://cacr.uwaterloo.ca/hac/>)
[INFO] [stderr]     |                                                            +                              +
[INFO] [stderr] 
[INFO] [stderr] warning: `lambdaworks-math` (lib doc) generated 18 warnings (run `cargo fix --lib -p lambdaworks-math` to apply 17 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/lambdaworks_math/index.html
[INFO] running `Command { std: "docker" "inspect" "dc3e3ae13cbf78a518045408a09606f4eb58e426ebb9432f3aa6831ed8619da1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc3e3ae13cbf78a518045408a09606f4eb58e426ebb9432f3aa6831ed8619da1", kill_on_drop: false }`
[INFO] [stdout] dc3e3ae13cbf78a518045408a09606f4eb58e426ebb9432f3aa6831ed8619da1