Home
last modified time | relevance | path

Searched defs:modulus (Results 1 – 25 of 576) sorted by relevance

12345678910>>...24

/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerModPowTest.java43 BigInteger modulus = new BigInteger(mSign, mBytes); in testModPowException() local
71 BigInteger modulus = new BigInteger(mSign, mBytes); in testModPowPosExp() local
94 BigInteger modulus = new BigInteger(mSign, mBytes); in testModPowNegExp() local
136 BigInteger modulus = new BigInteger(mSign, mBytes); in testmodInverseException() local
153 BigInteger modulus = new BigInteger(mSign, mBytes); in testmodInverseNonInvertible() local
171 BigInteger modulus = new BigInteger(mSign, mBytes); in testmodInversePos1() local
191 BigInteger modulus = new BigInteger(mSign, mBytes); in testmodInversePos2() local
211 BigInteger modulus = new BigInteger(mSign, mBytes); in testmodInverseNeg1() local
229 BigInteger modulus = new BigInteger(mBytes); in testmodInverseNeg2() local
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/
H A DRSACipherTest.java85 BigInteger modulus = ((RSAKey) publicKey).getModulus(); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local
119 BigInteger modulus = ((RSAKey) publicKey).getModulus(); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local
147 BigInteger modulus = ((RSAKey) publicKey).getModulus(); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local
176 BigInteger modulus = ((RSAKey) publicKey).getModulus(); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local
207 BigInteger modulus = ((RSAKey) publicKey).getModulus(); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local
240 BigInteger modulus = ((RSAKey) privateKey).getModulus(); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() local
/aosp_15_r20/external/federated-compute/fcp/secagg/shared/
H A Dmap_of_masks_test.cc110 uint64_t modulus = 1ULL << number_of_bits; in TEST() local
143 for (uint64_t modulus : kArbitraryModuli) { in TEST() local
346 for (uint64_t modulus : moduli) { in TEST_P() local
362 uint64_t modulus = 2636861836189; in TEST_P() local
378 uint64_t modulus = 2636861836189; in TEST_P() local
396 uint64_t modulus = 2636861836189; in TEST_P() local
421 uint64_t modulus = 2636861836189; in TEST_P() local
453 uint64_t modulus = 2636861836189; in TEST_P() local
484 uint64_t modulus = 2636861836189; in TEST_P() local
534 for (uint64_t modulus : kArbitraryModuli) { in TEST_P() local
H A Dsecagg_vector_test.cc58 uint64_t modulus = 256; in TEST_P() local
149 uint64_t modulus = 16; in TEST_P() local
160 uint64_t modulus = 16; in TEST_P() local
171 uint64_t modulus = 32; in TEST_P() local
206 uint64_t modulus = 32; in TEST_P() local
303 uint64_t modulus = 1ULL << bit_width; in TEST_P() local
316 for (auto modulus : kArbitraryModuli) { in TEST_P() local
341 uint64_t modulus = 32; in TEST_P() local
358 uint64_t modulus = 512; in TEST_P() local
H A Dsecagg_vector.h89 inline static int GetBitWidth(uint64_t modulus) { in GetBitWidth()
93 ABSL_MUST_USE_RESULT inline uint64_t modulus() const { return modulus_; } in modulus() function
232 explicit SecAggUnpackedVector(size_t size, uint64_t modulus) in SecAggUnpackedVector()
236 uint64_t modulus) in SecAggUnpackedVector()
239 ABSL_MUST_USE_RESULT inline uint64_t modulus() const { return modulus_; } in modulus() function
H A Dmap_of_masks_bench.cc35 inline void BM_MapOfMasks_Impl(benchmark::State& state, uint64_t modulus) { in BM_MapOfMasks_Impl()
58 inline void BM_MapOfMasksV3_Impl(benchmark::State& state, uint64_t modulus) { in BM_MapOfMasksV3_Impl()
90 uint64_t modulus = static_cast<uint64_t>(state.range(0)); in BM_MapOfMasks_Arbitrary() local
104 uint64_t modulus = static_cast<uint64_t>(state.range(0)); in BM_MapOfMasksV3_Arbitrary() local
H A Dsecagg_vector.cc41 SecAggVector::SecAggVector(absl::Span<const uint64_t> span, uint64_t modulus, in SecAggVector()
73 SecAggVector::SecAggVector(std::string packed_bytes, uint64_t modulus, in SecAggVector()
228 SecAggVector::Decoder::Decoder(absl::string_view packed_bytes, uint64_t modulus) in Decoder()
294 SecAggVector::Coder::Coder(uint64_t modulus, int bit_width, size_t num_elements) in Coder()
373 auto modulus = entry.second.modulus(); in AddMaps() local
/aosp_15_r20/external/private-join-and-compute/private_join_and_compute/py/crypto_util/
H A Dssl_util.py806 def __mod__(self, modulus): argument
809 def __imod__(self, modulus): argument
879 def ModMul(self, other, modulus): argument
894 def IModMul(self, other, modulus): argument
912 def ModExp(self, other, modulus): argument
924 def IModExp(self, other, modulus): argument
942 def ModInverse(self, modulus): argument
954 def ModSqrt(self, modulus): argument
968 def IModSqrt(self, modulus): argument
1002 def ModNegate(self, modulus): argument
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/signature/
H A DRsaSsaPkcs1PublicKey.java42 private final BigInteger modulus; field in RsaSsaPkcs1PublicKey
49 @Nullable private BigInteger modulus = null; field in RsaSsaPkcs1PublicKey.Builder
61 public Builder setModulus(BigInteger modulus) { in setModulus()
123 BigInteger modulus, in RsaSsaPkcs1PublicKey()
H A DRsaSsaPssPublicKey.java37 private final BigInteger modulus; field in RsaSsaPssPublicKey
44 @Nullable private BigInteger modulus = null; field in RsaSsaPssPublicKey.Builder
56 public Builder setModulus(BigInteger modulus) { in setModulus()
119 BigInteger modulus, in RsaSsaPssPublicKey()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/jwt/
H A DJwtRsaSsaPssPublicKey.java37 private final BigInteger modulus; field in JwtRsaSsaPssPublicKey
44 private Optional<BigInteger> modulus = Optional.empty(); field in JwtRsaSsaPssPublicKey.Builder
57 public Builder setModulus(BigInteger modulus) { in setModulus()
138 BigInteger modulus, in JwtRsaSsaPssPublicKey()
H A DJwtRsaSsaPkcs1PublicKey.java37 private final BigInteger modulus; field in JwtRsaSsaPkcs1PublicKey
44 private Optional<BigInteger> modulus = Optional.empty(); field in JwtRsaSsaPkcs1PublicKey.Builder
57 public Builder setModulus(BigInteger modulus) { in setModulus()
138 BigInteger modulus, in JwtRsaSsaPkcs1PublicKey()
/aosp_15_r20/external/private-join-and-compute/private_join_and_compute/crypto/
H A Dfixed_base_exp.cc49 FixedBaseExpImplBase(const BigNum& fixed_base, const BigNum& modulus) in FixedBaseExpImplBase()
73 SimpleBaseExpImpl(const BigNum& fixed_base, const BigNum& modulus) in SimpleBaseExpImpl()
89 const BigNum& modulus) in TwoKAryFixedBaseExpImpl()
146 Context* ctx, const BigNum& fixed_base, const BigNum& modulus) { in GetFixedBaseExp()
H A Dcamenisch_shoup.cc37 const BigNum& modulus, uint64_t s) { in GetPrecomp()
118 const BigNum& modulus) { in CommonEncryptWithRand()
154 const BigNum& modulus) { in CommonEncryptAndGetRand()
176 const BigNum& modulus) { in CommonEncrypt()
207 Context* ctx, const BigNum& modulus, uint64_t vector_encryption_length, in CommonParseCiphertextProto()
295 BigNum modulus = n.Exp(ctx->CreateBigNum(s + 1)); in ParseCamenischShoupPublicKeyProto() local
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
H A DOpenSSLRSAPrivateKey.java44 BigInteger modulus; field in OpenSSLRSAPrivateKey
68 final BigInteger modulus = rsaKeySpec.getModulus(); in init() local
112 BigInteger modulus = null; in wrapJCAPrivateKeyForTLSStackOnly() local
135 final BigInteger modulus = rsaPrivateKey.getModulus(); in getInstance() local
/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLRSAPrivateKey.java43 BigInteger modulus; field in OpenSSLRSAPrivateKey
67 final BigInteger modulus = rsaKeySpec.getModulus(); in init() local
111 BigInteger modulus = null; in wrapJCAPrivateKeyForTLSStackOnly() local
134 final BigInteger modulus = rsaPrivateKey.getModulus(); in getInstance() local
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/internal/
H A DEllipticCurvesUtil.java186 BigInteger modulus = getModulus(curve); in multiplyByGenerator() local
229 ECPoint toECPoint(BigInteger modulus) { in toECPoint()
244 static JacobianEcPoint toJacobianEcPoint(ECPoint p, BigInteger modulus) { in toJacobianEcPoint()
261 static JacobianEcPoint doubleJacobianPoint(JacobianEcPoint p, BigInteger a, BigInteger modulus) { in doubleJacobianPoint()
283 JacobianEcPoint p1, JacobianEcPoint p2, BigInteger a, BigInteger modulus) { in addJacobianPoints()
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
H A DRSAKeyParameters.java24 private BigInteger modulus; field in RSAKeyParameters
29 BigInteger modulus, in RSAKeyParameters()
46 private BigInteger validate(BigInteger modulus) in validate()
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
H A DRSAKeyParameters.java24 private BigInteger modulus; field in RSAKeyParameters
29 BigInteger modulus, in RSAKeyParameters()
46 private BigInteger validate(BigInteger modulus) in validate()
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DRSAKeyParameters.java20 private BigInteger modulus; field in RSAKeyParameters
25 BigInteger modulus, in RSAKeyParameters()
42 private BigInteger validate(BigInteger modulus) in validate()
/aosp_15_r20/libcore/ojluni/src/main/java/java/security/spec/
H A DRSAPublicKeySpec.java47 private final BigInteger modulus; field in RSAPublicKeySpec
57 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) { in RSAPublicKeySpec()
69 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, in RSAPublicKeySpec()
H A DRSAPrivateKeySpec.java47 private final BigInteger modulus; field in RSAPrivateKeySpec
57 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) { in RSAPrivateKeySpec()
69 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, in RSAPrivateKeySpec()
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/security/spec/
DRSAPublicKeySpec.java47 private final BigInteger modulus; field in RSAPublicKeySpec
57 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) { in RSAPublicKeySpec()
69 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, in RSAPublicKeySpec()
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/14/libcore/ojluni/src/main/java/java/security/spec/
DRSAPrivateKeySpec.java47 private final BigInteger modulus; field in RSAPrivateKeySpec
57 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) { in RSAPrivateKeySpec()
69 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, in RSAPrivateKeySpec()
DRSAPublicKeySpec.java47 private final BigInteger modulus; field in RSAPublicKeySpec
57 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) { in RSAPublicKeySpec()
69 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, in RSAPublicKeySpec()

12345678910>>...24