dcrypt-algorithms 1.2.3

Cryptographic primitives for the dcrypt library
Documentation
//! Representation of Multivariate Quadratic Polynomial Systems
//!
//! Placeholder for structures and methods to represent and evaluate
//! systems of n-variable quadratic equations over a finite field.

#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(feature = "alloc")]
extern crate alloc;
// #[cfg(feature = "alloc")]
// use alloc::vec::Vec;

// /// Represents a system of m quadratic polynomials in n variables over GF(q).
// pub struct MultivariateQuadraticSystem {
//     num_variables: usize,
//     num_polynomials: usize,
//     // Coefficients could be stored as a Vec of matrices, or a flattened Vec.
//     // For P_i(x_1, ..., x_n) = sum_{j<=k} c_{ijk} x_j x_k + sum_j d_{ij} x_j + e_i
//     #[cfg(feature = "alloc")]
//     coeffs: Vec<u8>, // Example for GF(256)
// }