Home
last modified time | relevance | path

Searched refs:ModExp (Results 1 – 25 of 168) sorted by relevance

1234567

/dports/lang/mosml/mosml-ver-2.10.1/src/compiler/
H A DAsynt.sml107 | STRUCTUREexp of ModExp * SigExp * (ExMod option) ref
108 | FUNCTORexp of ModExp * SigExp * (ExMod option) ref
149 and ModBind = MODBINDmodbind of ModId * ModExp
152 FUNBINDfunbind of FunId * ModExp
158 and ModExp' =
161 | LETmodexp of Dec * ModExp
162 | PARmodexp of ModExp
163 | CONmodexp of ModExp * SigExp
164 | ABSmodexp of ModExp * SigExp
166 | APPmodexp of ModExp * ModExp
[all …]
H A DParser.grm217 %type <Asynt.ModExp> AtModExp ModExp FunBindBody OptConEqualsModExp
218 %type <Asynt.ModExp list> AtModExp_seq1
227 %type <(Asynt.ModId * ModExp) option> WhereModBind_opt
368 STRUCTURE ModId EQUALS ModExp SemiEof
592 | LBRACKET STRUCTURE ModExp AS SigExp RBRACKET
594 | LBRACKET FUNCTOR ModExp AS SigExp RBRACKET
970 EQUALS ModExp {$2}
1069 ModExp :
1079 | [] => fatalError "Parser.ModExp")}
1082 | FUNCTOR ModId COLON SigExp DARROW ModExp
[all …]
/dports/lang/mosml/mosml-ver-2.10.1/src/compiler.cminusminus/
H A DAsynt.sml107 | STRUCTUREexp of ModExp * SigExp * (ExMod option) ref
108 | FUNCTORexp of ModExp * SigExp * (ExMod option) ref
149 and ModBind = MODBINDmodbind of ModId * ModExp
152 FUNBINDfunbind of FunId * ModExp
158 and ModExp' =
161 | LETmodexp of Dec * ModExp
162 | PARmodexp of ModExp
163 | CONmodexp of ModExp * SigExp
164 | ABSmodexp of ModExp * SigExp
166 | APPmodexp of ModExp * ModExp
[all …]
H A DParser.grm215 %type <Asynt.ModExp> AtModExp ModExp FunBindBody OptConEqualsModExp
216 %type <Asynt.ModExp list> AtModExp_seq1
225 %type <(Asynt.ModId * ModExp) option> WhereModBind_opt
366 STRUCTURE ModId EQUALS ModExp SemiEof
590 | LBRACKET STRUCTURE ModExp AS SigExp RBRACKET
592 | LBRACKET FUNCTOR ModExp AS SigExp RBRACKET
968 EQUALS ModExp {$2}
1067 ModExp :
1077 | [] => fatalError "Parser.ModExp")}
1080 | FUNCTOR ModId COLON SigExp DARROW ModExp
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/shell-encryption/src/
H A Dntt_parameters_test.cc87 auto res = w.ModExp(n, modulus_params.get()); in TYPED_TEST()
92 auto res2 = w.ModExp(n / 2, modulus_params.get()); in TYPED_TEST()
118 auto r1 = psis[1].ModExp(2 * n, modulus_params.get()); in TYPED_TEST()
119 auto r2 = psis[1].ModExp(n, modulus_params.get()); in TYPED_TEST()
126 auto ri = psis[1].ModExp(i, modulus_params.get()); in TYPED_TEST()
253 auto r1 = psi.ModExp(2 * n, modulus_params.get()); in TYPED_TEST()
254 auto r2 = psi.ModExp(n, modulus_params.get()); in TYPED_TEST()
261 auto bi = psi.ModExp(i, modulus_params.get()); in TYPED_TEST()
H A Dntt_parameters.h37 (*row)[i].AddInPlace(base.ModExp(i, params), params); in FillWithEveryPower()
59 ModularInt candidate = mt.ModExp(k, params); in PrimitiveNthRootOfUnity()
63 if (candidate.ModExp(half_n, params) != one) { in PrimitiveNthRootOfUnity()
H A Dmontgomery.cc389 MontgomeryInt<T> MontgomeryInt<T>::ModExp(Int exponent, in ModExp() function in rlwe::MontgomeryInt
414 return (*this).ModExp(static_cast<Int>(params->modulus - 2), params); in MultiplicativeInverse()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/unittest/
H A DUnitTestNbTheory.cpp209 T wpowerm = primitiveRootOfUnity.ModExp(M, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
212 T wpowermbytwo = primitiveRootOfUnity.ModExp(MbyTwo, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
230 T wpowerm = primitiveRootOfUnity.ModExp(M, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
233 T wpowermbytwo = primitiveRootOfUnity.ModExp(MbyTwo, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
237 T wpowermbyfour = primitiveRootOfUnity.ModExp(MbyFour, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
335 T wpowerm = primitiveRootOfUnity.ModExp(M, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
340 T wpowermbytwo = primitiveRootOfUnity.ModExp(MbyTwo, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
345 T wpowermbyfour = primitiveRootOfUnity.ModExp(MbyFour, primeModulus); in method_primitive_root_of_unity_VERY_LONG()
H A DUnitTest128.cpp109 result = a.ModExp(b, modulus); in TEST()
H A DUnitTestBinInt.cpp957 calculatedResult = m.ModExp(n, q); in mod_arithmetic()
979 T calculatedResult = m.ModExp(n, q); in big_modexp()
996 T calculatedResult = m.ModExp(n, q); in power_2_modexp()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/benchmark/src/
H A DNbTheory.cpp252 BigInteger wpowerm = primitiveRootOfUnity.ModExp(M, primeModulus); in PROU_equals_m_not_equals_mbytwo()
253 BigInteger wpowermbytwo = primitiveRootOfUnity.ModExp(MbyTwo, primeModulus); in PROU_equals_m_not_equals_mbytwo()
291 wpowerm = primitiveRootOfUnity.ModExp(M, primeModulus);
292 wpowermbytwo = primitiveRootOfUnity.ModExp(MbyTwo, primeModulus);
293 wpowermbyfour = primitiveRootOfUnity.ModExp(MbyFour, primeModulus);
380 wpowerm = primitiveRootOfUnity.ModExp(M, primeModulus); in PROU_equals_m_not_equals_mbytwo_mbyfour_multiple_inputs()
381 wpowermbytwo = primitiveRootOfUnity.ModExp(MbyTwo, primeModulus); in PROU_equals_m_not_equals_mbytwo_mbyfour_multiple_inputs()
382 wpowermbyfour = primitiveRootOfUnity.ModExp(MbyFour, primeModulus); in PROU_equals_m_not_equals_mbytwo_mbyfour_multiple_inputs()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/lib/math/
H A Dnbtheory.cpp125 IntType mod = a.ModExp(d, p);
171 DEBUG(qm1 << " / " << *it << " " << gen.ModExp(qm1 / (*it), q)); in capture_ax25_kiss()
173 if (gen.ModExp(qm1 / (*it), q) == IntType(1))
216 if (gen.ModExp(phi_q / (*it), q) == IntType(1))
249 if (g.ModExp(qm1 / (*it), q) == IntType(1))
291 result = gen.ModExp((modulo - IntType(1)).DividedBy(M), modulo);
477 IntType r = IntType(2).ModExp(nBits, m);
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/core/
H A Dcore_cloud_password.cpp75 const auto value = BigNum::ModExp( in ComputeDigest()
110 const auto g_x = BigNum::ModExp(g, x, p, context); in ComputeCheck()
120 const auto A = BigNum::ModExp(g, a, p, context); in ComputeCheck()
139 const auto S = BigNum::ModExp(g_b, a_ux, p, context); in ComputeCheck()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/mtproto/
H A Dmtproto_dh_utils.cpp149 const auto modexp = BigNum::ModExp( in CreateModExp()
172 return BigNum::ModExp(first, BigNum(randomBytes), prime).getBytes(); in CreateAuthKey()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/lib/math/bigintntl/
H A Dmubintvecntl.cpp492 myVecP<myT> myVecP<myT>::ModExp(const myT &b) const { in ModExp() function in NTL::myVecP
496 ans[i] = ans[i].ModExp(b % m_modulus, ans.m_modulus); in ModExp()
505 (*this)[i] = (*this)[i].ModExp(b % m_modulus, this->m_modulus); in ModExpEq()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/include/math/
H A Dinterface.h433 T ModExp(const T& b, const T& modulus) const;
885 T ModExp(const I& b) const;
/dports/security/botan110/Botan-1.10.17/checks/
H A Dmp_valid.dat2755 [ModExp]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/tools/testserver/
H A Dminica.py46 def ModExp(n, e, p): function
85 s = ModExp(n, self.d, self.m)
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/tools/testserver/
H A Dminica.py46 def ModExp(n, e, p): function
85 s = ModExp(n, self.d, self.m)
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/data/bn/
H A Dpowmod.vec1 [ModExp]
/dports/security/botan2/Botan-2.18.2/src/tests/data/bn/
H A Dpowmod.vec1 [ModExp]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/private-join-and-compute/src/crypto/
H A Dbig_num.h136 BigNum ModExp(const BigNum& exponent, const BigNum& m) const;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/private-join-and-compute/src/crypto/
H A Dbig_num.h136 BigNum ModExp(const BigNum& exponent, const BigNum& m) const;
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/cmd/puppeth/
H A Dgenesis.go241 ModExp *parityChainSpecModExpPricing `json:"modexp,omitempty"` member
329 …genesis.Config.ByzantiumBlock.Uint64(), Pricing: &parityChainSpecPricing{ModExp: &parityChainSpecM…
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/include/math/bigintdyn/
H A Dmubintvecdyn.h427 mubintvec ModExp(const ubint_el_t &b) const;

1234567