Module scalar

Module scalar 

Source
Expand description

secp521r1 scalar field elements.

Arithmetic implementations have been synthesized using fiat-crypto.

§License

Copyright (c) 2015-2020 the fiat-crypto authors

fiat-crypto is distributed under the terms of the MIT License, the Apache License (Version 2.0), and the BSD 1-Clause License; users may pick which license to apply.

Modules§

scalar_impl 🔒
fiat-crypto output postprocessed by fiat-constify: https://github.com/rustcrypto/utils Autogenerated: ‘./word_by_word_montgomery’ –lang Rust –inline p521_scalar 64 0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409 curve description: p521_scalar machine_wordsize = 64 (from “64”) requested operations: (all) m = 0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409 (from “0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409”)

Structs§

Scalar
Scalars are elements in the finite field modulo n.