代码搜索:modulus
找到约 3,028 项符合「modulus」的源代码
代码结果 3,028
www.eeworm.com/read/278099/10569597
c bignum2.c
/* +++Date last modified: 05-Jul-1997 */
/* BIGNUM2.C
**
** Routines to do Big Number Arithmetic. These are multi-precision, unsigned
** natural numbers (0, 1, 2, ...). For the storage method, s
www.eeworm.com/read/278099/10571009
c bignum1.c
/* +++Date last modified: 05-Jul-1997 */
/* BIGNUM1.C
**
** Routines to do Big Number Arithmetic. These are multi-precision, unsigned
** natural numbers (0, 1, 2, ...). For the storage method, s
www.eeworm.com/read/422757/10612344
cpp modexppc.cpp
// modexppc.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "modexppc.h"
#include "asn.h"
#include "algebra.cpp"
#include "eprecomp.cpp"
NAMESPACE_BEGIN(
www.eeworm.com/read/422757/10612382
h modarith.h
#ifndef CRYPTOPP_MODARITH_H
#define CRYPTOPP_MODARITH_H
// implementations are in integer.cpp
#include "cryptlib.h"
#include "misc.h"
#include "integer.h"
#include "algebra.h"
NAMESPACE_B
www.eeworm.com/read/274306/10877522
cpp modexppc.cpp
// modexppc.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "modexppc.h"
#include "asn.h"
#include "algebra.cpp"
#include "eprecomp.cpp"
NAMESPACE_BEGIN(
www.eeworm.com/read/274306/10877544
h modarith.h
#ifndef CRYPTOPP_MODARITH_H
#define CRYPTOPP_MODARITH_H
// implementations are in integer.cpp
#include "cryptlib.h"
#include "misc.h"
#include "integer.h"
#include "algebra.h"
NAMESPACE_B
www.eeworm.com/read/457217/7332309
adb random.adb
package body Random is
X: Small;
procedure Init(Seed: Small) is
begin
X := Seed mod Modulus;
end Init;
function Next return Small is
begin
X := X * Multiplier mod Modulus
www.eeworm.com/read/457217/7332328
ads random.ads
package Random is
Modulus: constant Integer := 2 ** 13;
subtype Small is Integer range 0 .. Modulus;
Multiplier: constant Integer := 5 ** 5;
procedure Init(Seed: Small);
function Next r