/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DSAParameterGenerationParameters.java | 13 private final int certainty; field in class:DSAParameterGenerationParameters 21 * @param certainty certainty level for prime number generation. 27 int certainty, 30 this(L, N, certainty, random, -1); 38 * @param certainty certainty level for prime number generation. 45 int certainty, 51 this.certainty = certainty; [all...] |
RSAKeyGenerationParameters.java | 12 private int certainty; field in class:RSAKeyGenerationParameters 18 int certainty) 36 this.certainty = certainty; 46 return certainty;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DHParametersGenerator.java | 11 private int certainty; field in class:DHParametersGenerator 20 * @param certainty level of certainty for the prime number tests 25 int certainty, 29 this.certainty = certainty; 44 BigInteger[] safePrimes = DHParametersHelper.generateSafePrimes(size, certainty, random);
|
RSAKeyPairGenerator.java | 200 private static int getNumberOfIterations(int bits, int certainty) 203 * NOTE: We enforce a minimum 'certainty' of 100 for bits >= 1024 (else 80). Where the 204 * certainty is higher than the FIPS 186-4 tables (C.2/C.3) cater to, extra iterations 209 return certainty <= 100 ? 3 210 : certainty <= 128 ? 4 211 : 4 + (certainty - 128 + 1) / 2; 215 return certainty <= 100 ? 4 216 : certainty <= 112 ? 5 217 : 5 + (certainty - 112 + 1) / 2; 221 return certainty <= 80 ? [all...] |
DHParametersHelper.java | 26 static BigInteger[] generateSafePrimes(int size, int certainty, SecureRandom random) 47 if (!p.isProbablePrime(certainty)) 52 if (certainty > 2 && !q.isProbablePrime(certainty - 2))
|
DSAParametersGenerator.java | 29 private int certainty; field in class:DSAParametersGenerator 51 * @param certainty measure of robustness of prime (for FIPS 186-2 compliance this should be at least 80). 56 int certainty, 61 this.certainty = certainty; 62 this.iterations = Math.max(getMinimumIterations(L), (certainty + 1) / 2); 105 this.certainty = params.getCertainty(); 106 this.iterations = Math.max(getMinimumIterations(L), (certainty + 1) / 2); 346 return x.isProbablePrime(certainty);
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
BigIntegerTest.java | 448 // The probability that a non-prime passes should be at most 1-2^{-certainty}. 449 int certainty = 80; local 451 if (n.isProbablePrime(certainty)) {
|
RsaKeyTest.java | 1408 int certainty = 80; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
KeyPairGeneratorSpi.java | 32 int certainty = 20; field in class:KeyPairGeneratorSpi 109 pGen.init(strength, certainty, random); 113 dsaParams = new DSAParameterGenerationParameters(1024, 160, certainty, random); 119 dsaParams = new DSAParameterGenerationParameters(strength, 256, certainty, random); 126 pGen.init(strength, certainty, random);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
KeyPairGeneratorSpi.java | 30 int certainty = 20; field in class:KeyPairGeneratorSpi 98 pGen.init(strength, certainty, random);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsCbCmasInfo.java | 163 // CMAS certainty (in GSM/UMTS message identifier or CDMA type 1 elements record). 165 /** CMAS certainty type: Determined to have occurred or to be ongoing. */ 168 /** CMAS certainty type: Likely (probability > ~50%). */ 172 * CMAS alert certainty is unknown. The certainty is available for CDMA warning alerts 193 /** CMAS certainty. */ 198 int urgency, int certainty) { 204 mCertainty = certainty; 274 * Returns the CMAS certainty, e.g. {@link #CMAS_CERTAINTY_OBSERVED}. 285 + ", urgency=" + mUrgency + ", certainty=" + mCertainty + '}' [all...] |
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
SendCdmaCmasMessages.java | 127 * @param certainty CMAS certainty 132 int urgency, int certainty) { 135 severity, urgency, certainty);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
CellBroadcastMessage.java | 223 int certainty; local 227 certainty = cursor.getInt(cmasCertaintyColumn); 229 certainty = SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN; 233 urgency, certainty);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SmsCbHeader.java | 176 int certainty = getCmasCertainty(); local 179 SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, severity, urgency, certainty); 410 * Returns the certainty for a CMAS warning notification. This is only available for extreme 413 * @return the CMAS certainty as defined in {@link SmsCbCmasInfo}
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
OldBigIntegerTest.java | 81 int certainty[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, local 84 for (int c = 0; c < certainty.length; c++) { 266 // shows that certainty 80 is "practically aquivalent" to certainty 100
|
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 151 * {@code 1 - 1/2<sup>certainty</sup>)}. 158 * @param certainty tolerated primality uncertainty. 163 public BigInteger(int bitLength, int certainty, Random random) { [all...] |
BigInt.java | 341 boolean isPrime(int certainty) { 342 return NativeBN.BN_primality_test(bignum, certainty, false);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyPairGeneratorSpi.java | 49 int certainty = 50; field in class:KeyPairGeneratorSpi.EC
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
SmsFacade.java | [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
CdmaSmsCbTest.java | 141 * @param certainty CMAS certainty 146 int severity, int urgency, int certainty) throws Exception { 162 cmasBos.write(4, (certainty & 0x0f)); [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GnssLocationProvider.java | [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
BearerData.java | 1827 int certainty = SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN; local [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
anritsu_utils.py | [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
md8475a.py | 1089 response_type, severity, urgency, certainty): 1102 'CharSet=ASCII&ResponseType={}&Severity={}&Urgency={}&Certainty={}"' 1104 severity, urgency, certainty) [all...] |
/external/google-tv-pairing-protocol/java/jar/ |
bcprov-jdk15-143.jar | |