Lines Matching full:modulus

60  *   - the modulus (`n`);
66 * - the modulus (`n`);
101 * - The two prime factors of the modulus need not have the same length
106 * - Prime factors and modulus must be smaller than a compile-time limit.
109 * RSA operations. Currently, the maximum modulus size is 4096 bits,
115 * SHA-1 requires a modulus of at least 361 bits). It is up to users
122 * modulus have a size multiple of 8 or 16.
158 * The structure references the modulus and the public exponent. Both
163 /** \brief Modulus. */
165 /** \brief Modulus length (in bytes). */
178 * the modulus. The big integers use unsigned big-endian representation;
179 * extra leading bytes of value 0 are allowed. However, the modulus bit
183 /** \brief Modulus bit length (in bits, exact value). */
215 * length as the modulus (actual modulus length, without extra leading
216 * zeros in the modulus representation in memory). If the length does
221 * (the array has the same length as the modulus, but the numerical value
222 * is not lower than the modulus) and an invalid modulus (e.g. an even
263 * modulus length (this function returns 0 on mismatch). If the modulus
311 * modulus length (this function returns 0 on mismatch). If the modulus
353 * The encrypted message output has exactly the same length as the modulus
355 * modulus representation in the public key).
363 * modulus exceeds the maximum supported RSA size.
387 * the modulus length (`x[]` is assumed to have a length of
419 * a too small modulus for the provided hash OID and value, or some
424 * private key bytes (lengths of the modulus and the individual factors
463 * a too small modulus for the provided hash and salt lengths, or some
468 * private key bytes (lengths of the modulus and the individual factors
536 * checking that the input message length matches the key modulus length,
1139 * not lower than 59 bytes, and matches the RSA modulus length; if neither
1334 * \param size target key size (modulus size, in bits)
1347 * \param size target key size (modulus size, in bits)
1355 * This function generates a new RSA key pair whose modulus has bit
1386 * \param size target RSA modulus size (in bits)
1406 * \param size target RSA modulus size (in bits)
1426 * \param size target RSA modulus size (in bits)
1450 * \param size target RSA modulus size (in bits)
1479 * \brief Type for a modulus computing function.
1481 * Such a function computes the public modulus from the private key. The
1482 * encoded modulus (unsigned big-endian) is written on `n`, and the size
1484 * the modulus itself is not computed.
1490 * \return the modulus length (in bytes), or 0.
1495 * \brief Recompute RSA modulus ("i15" engine).
1501 * \return the modulus length (in bytes), or 0.
1506 * \brief Recompute RSA modulus ("i31" engine).
1512 * \return the modulus length (in bytes), or 0.
1517 * \brief Get "default" RSA implementation (recompute modulus).
1519 * This returns the preferred implementation of RSA (recompute modulus)