Home
last modified time | relevance | path

Searched refs:FirstPrime (Results 1 – 25 of 48) sorted by relevance

12

/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/binfhe/lib/
H A Dbinfhecontext.cpp45 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(27, 1024),
52 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(27, 2048),
60 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(27, 2048),
68 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(27, 2048),
76 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(37, 4096),
84 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(29, 4096),
92 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(50, 4096),
100 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(35, 4096),
108 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(27, 4096),
116 Q = PreviousPrime<NativeInteger>(FirstPrime<NativeInteger>(28, 2048),
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/unittest/
H A DUnitTestNbTheory.cpp158 EXPECT_THROW(FirstPrime<NativeInteger>(nBits, m), math_error) in TEST()
163 EXPECT_THROW(FirstPrime<M2Integer>(nBits, m), math_error) in TEST()
177 EXPECT_EQ(expectedResult, lbcrypto::FirstPrime<T>(nBits, m)) in method_prime_modulus()
185 T primeModulus = lbcrypto::FirstPrime<T>(nBits, m); in method_prime_modulus()
204 T primeModulus = lbcrypto::FirstPrime<T>(nBits, m); in method_primitive_root_of_unity_VERY_LONG()
226 T primeModulus = lbcrypto::FirstPrime<T>(nBits, m); in method_primitive_root_of_unity_VERY_LONG()
313 T primeModulus = lbcrypto::FirstPrime<T>(qBits, m); in method_primitive_root_of_unity_VERY_LONG()
407 auto q = FirstPrime<T>(bits, m); in test_nextQ()
H A DUnitTestEncoding.cpp136 NativeInteger q = FirstPrime<NativeInteger>(dcrtBits, mArb); in TEST_F()
151 q = FirstPrime<NativeInteger>(dcrtBitsBig, mNTT); in TEST_F()
204 NativeInteger q = FirstPrime<NativeInteger>(dcrtBits, mArb); in TEST_F()
219 q = FirstPrime<NativeInteger>(dcrtBitsBig, mNTT); in TEST_F()
H A DUnitTestNTT.cpp55 FirstPrime<typename Element::Integer>(22, m1); in switch_format_simple_single_crt()
96 NativeInteger q = FirstPrime<NativeInteger>(28, init_m); in switch_format_simple_double_crt()
H A DUnitTest128.cpp144 NativeInteger modulus = FirstPrime<NativeInteger>(100, m1); in TEST()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/benchmark/src/
H A DNbTheory.cpp196 return lbcrypto::FirstPrime<BigInteger>(nBits, m); in PM_foundPrimeModulus()
220 BigInteger primeModulus = lbcrypto::FirstPrime<BigInteger>(nBits, m);
246 BigInteger primeModulus = lbcrypto::FirstPrime<BigInteger>(nBits, m); in PROU_equals_m_not_equals_mbytwo()
282 BigInteger primeModulus = lbcrypto::FirstPrime<BigInteger>(nBits, m);
377 BigInteger primeModulus = lbcrypto::FirstPrime<BigInteger>(qBits, m); in PROU_equals_m_not_equals_mbytwo_mbyfour_multiple_inputs()
H A Dpoly-benchmark-1k.cpp72 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateNativeParms()
87 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateDCRTParms()
H A Dpoly-benchmark-64k.cpp72 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateNativeParms()
87 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateDCRTParms()
H A Dpoly-hexl-benchmark-16k.cpp72 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateNativeParms()
87 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateDCRTParms()
H A Dpoly-hexl-benchmark-4k.cpp72 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m);
87 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m);
H A Dpoly-benchmark-16k.cpp72 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m);
87 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m);
H A Dpoly-benchmark-4k.cpp72 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateNativeParms()
87 NativeInteger firstInteger = FirstPrime<NativeInteger>(DCRTBITS, m); in GenerateDCRTParms()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/include/utils/
H A Dparmfactory.h69 NativeInteger q = FirstPrime<NativeInteger>(pbits, m); in GenerateDCRTParams()
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/lib/lattice/
H A Dildcrtparams.cpp40 NativeInteger q = FirstPrime<NativeInteger>(bits, order);
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/lib/math/
H A Dbe4-math-impl.cpp52 template M4Integer FirstPrime(uint64_t nBits, uint64_t m);
H A Dbe6-math-impl.cpp54 template M6Integer FirstPrime(uint64_t nBits, uint64_t m);
H A Dbenative-math-impl.cpp55 template NativeInteger FirstPrime(uint64_t nBits, uint64_t m);
H A Dbe2-math-impl.cpp50 template M2Integer FirstPrime(uint64_t nBits, uint64_t m);
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/include/lattice/
H A Delemparamfactory.h113 typename P::Integer q = FirstPrime<typename P::Integer>(bits, m);
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cryptopp/
H A Dnbtheory.h97 CRYPTOPP_DLL bool CRYPTOPP_API FirstPrime(Integer &p, const Integer &max, const Integer &equiv, con…
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dnbtheory.h131 CRYPTOPP_DLL bool CRYPTOPP_API FirstPrime(Integer &p, const Integer &max, const Integer &equiv, con…
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dnbtheory.h131 CRYPTOPP_DLL bool CRYPTOPP_API FirstPrime(Integer &p, const Integer &max, const Integer &equiv, con…
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dnbtheory.h131 CRYPTOPP_DLL bool CRYPTOPP_API FirstPrime(Integer &p, const Integer &max, const Integer &equiv, con…
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dnbtheory.h131 CRYPTOPP_DLL bool CRYPTOPP_API FirstPrime(Integer &p, const Integer &max, const Integer &equiv, con…
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/core/include/math/
H A Dnbtheory.h297 IntType FirstPrime(uint64_t nBits, uint64_t m);

12