OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BigInteger
(Results
151 - 175
of
621
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java
3
import java.math.
BigInteger
;
8
* {@link java.math.
BigInteger
BigInteger
} with a few digits on the right of
22
private final
BigInteger
bigInt;
34
public static SimpleBigDecimal getInstance(
BigInteger
value, int scale)
46
public SimpleBigDecimal(
BigInteger
bigInt, int scale)
88
public SimpleBigDecimal add(
BigInteger
b)
103
public SimpleBigDecimal subtract(
BigInteger
b)
115
public SimpleBigDecimal multiply(
BigInteger
b)
123
BigInteger
dividend = bigInt.shiftLeft(scale)
[
all
...]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
SimpleBigDecimal.java
4
import java.math.
BigInteger
;
9
* {@link java.math.
BigInteger
BigInteger
} with a few digits on the right of
23
private final
BigInteger
bigInt;
35
public static SimpleBigDecimal getInstance(
BigInteger
value, int scale)
47
public SimpleBigDecimal(
BigInteger
bigInt, int scale)
89
public SimpleBigDecimal add(
BigInteger
b)
104
public SimpleBigDecimal subtract(
BigInteger
b)
116
public SimpleBigDecimal multiply(
BigInteger
b)
124
BigInteger
dividend = bigInt.shiftLeft(scale)
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1Integer.java
4
import java.math.
BigInteger
;
81
bytes =
BigInteger
.valueOf(value).toByteArray();
85
* Construct an INTEGER from the passed in
BigInteger
value.
87
* @param value the
BigInteger
representing the value desired.
90
BigInteger
value)
115
* @param bytes the byte array representing a 2's complement encoding of a
BigInteger
.
159
public
BigInteger
getValue()
161
return new
BigInteger
(bytes);
168
* @return the
BigInteger
that results from treating this ASN.1 INTEGER as unsigned.
170
public
BigInteger
getPositiveValue(
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSAParameter.java
3
import java.math.
BigInteger
;
43
BigInteger
p,
44
BigInteger
q,
45
BigInteger
g)
67
public
BigInteger
getP()
72
public
BigInteger
getQ()
77
public
BigInteger
getG()
PolicyConstraints.java
3
import java.math.
BigInteger
;
29
private
BigInteger
requireExplicitPolicyMapping;
30
private
BigInteger
inhibitPolicyMapping;
32
public PolicyConstraints(
BigInteger
requireExplicitPolicyMapping,
BigInteger
inhibitPolicyMapping)
80
public
BigInteger
getRequireExplicitPolicyMapping()
85
public
BigInteger
getInhibitPolicyMapping()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
RSAPublicKey.java
4
import java.math.
BigInteger
;
21
private
BigInteger
modulus;
22
private
BigInteger
publicExponent;
48
BigInteger
modulus,
49
BigInteger
publicExponent)
70
public
BigInteger
getModulus()
75
public
BigInteger
getPublicExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DSAParameter.java
4
import java.math.
BigInteger
;
47
BigInteger
p,
48
BigInteger
q,
49
BigInteger
g)
71
public
BigInteger
getP()
76
public
BigInteger
getQ()
81
public
BigInteger
getG()
PolicyConstraints.java
4
import java.math.
BigInteger
;
31
private
BigInteger
requireExplicitPolicyMapping;
32
private
BigInteger
inhibitPolicyMapping;
34
public PolicyConstraints(
BigInteger
requireExplicitPolicyMapping,
BigInteger
inhibitPolicyMapping)
82
public
BigInteger
getRequireExplicitPolicyMapping()
87
public
BigInteger
getInhibitPolicyMapping()
RSAPublicKeyStructure.java
4
import java.math.
BigInteger
;
22
private
BigInteger
modulus;
23
private
BigInteger
publicExponent;
49
BigInteger
modulus,
50
BigInteger
publicExponent)
71
public
BigInteger
getModulus()
76
public
BigInteger
getPublicExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/agreement/
DHBasicAgreement.java
4
import java.math.
BigInteger
;
25
private static final
BigInteger
ONE =
BigInteger
.valueOf(1);
63
public
BigInteger
calculateAgreement(
73
BigInteger
p = dhParams.getP();
75
BigInteger
peerY = pub.getY();
81
BigInteger
result = peerY.modPow(key.getX(), p);
/external/grpc-grpc-java/context/src/test/java/io/grpc/testing/
DeadlineSubject.java
28
import java.math.
BigInteger
;
61
BigInteger
actualTimeRemaining =
BigInteger
.valueOf(actual.timeRemaining(NANOSECONDS));
62
BigInteger
expectedTimeRemaining =
BigInteger
.valueOf(expected.timeRemaining(NANOSECONDS));
63
BigInteger
deltaNanos =
BigInteger
.valueOf(timeUnit.toNanos(delta));
/external/guava/guava-tests/benchmark/com/google/common/math/
BigIntegerMathRoundingBenchmark.java
29
import java.math.
BigInteger
;
38
private static final
BigInteger
[] nonzero1 = new
BigInteger
[ARRAY_SIZE];
39
private static final
BigInteger
[] nonzero2 = new
BigInteger
[ARRAY_SIZE];
40
private static final
BigInteger
[] positive = new
BigInteger
[ARRAY_SIZE];
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
RSACoreEngine.java
3
import java.math.
BigInteger
;
86
public
BigInteger
convertInput(
113
BigInteger
res = new
BigInteger
(1, block);
123
BigInteger
result)
171
public
BigInteger
processBlock(
BigInteger
input)
182
BigInteger
p = crtKey.getP();
183
BigInteger
q = crtKey.getQ();
184
BigInteger
dP = crtKey.getDP()
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPrivateCrtKey.java
4
import java.math.
BigInteger
;
26
private
BigInteger
publicExponent;
27
private
BigInteger
primeP;
28
private
BigInteger
primeQ;
29
private
BigInteger
primeExponentP;
30
private
BigInteger
primeExponentQ;
31
private
BigInteger
crtCoefficient;
139
public
BigInteger
getPublicExponent()
149
public
BigInteger
getPrimeP()
159
public
BigInteger
getPrimeQ(
[
all
...]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
RSACoreEngine.java
4
import java.math.
BigInteger
;
87
public
BigInteger
convertInput(
114
BigInteger
res = new
BigInteger
(1, block);
124
BigInteger
result)
172
public
BigInteger
processBlock(
BigInteger
input)
183
BigInteger
p = crtKey.getP();
184
BigInteger
q = crtKey.getQ();
185
BigInteger
dP = crtKey.getDP()
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DomainParameters.java
3
import java.math.
BigInteger
;
74
public DomainParameters(
BigInteger
p,
BigInteger
g,
BigInteger
q,
BigInteger
j,
149
public
BigInteger
getP()
159
public
BigInteger
getG()
169
public
BigInteger
getQ()
179
public
BigInteger
getJ()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
SecP192R1Curve.java
3
import java.math.
BigInteger
;
14
public static final
BigInteger
q = new
BigInteger
(1,
27
this.a = fromBigInteger(new
BigInteger
(1,
29
this.b = fromBigInteger(new
BigInteger
(1,
31
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"));
32
this.cofactor =
BigInteger
.valueOf(1);
53
public
BigInteger
getQ()
63
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP224R1Curve.java
3
import java.math.
BigInteger
;
14
public static final
BigInteger
q = new
BigInteger
(1,
27
this.a = fromBigInteger(new
BigInteger
(1,
29
this.b = fromBigInteger(new
BigInteger
(1,
31
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"));
32
this.cofactor =
BigInteger
.valueOf(1);
53
public
BigInteger
getQ()
63
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP256R1Curve.java
3
import java.math.
BigInteger
;
14
public static final
BigInteger
q = new
BigInteger
(1,
27
this.a = fromBigInteger(new
BigInteger
(1,
29
this.b = fromBigInteger(new
BigInteger
(1,
31
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"));
32
this.cofactor =
BigInteger
.valueOf(1);
53
public
BigInteger
getQ()
63
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP384R1Curve.java
3
import java.math.
BigInteger
;
14
public static final
BigInteger
q = new
BigInteger
(1,
27
this.a = fromBigInteger(new
BigInteger
(1,
29
this.b = fromBigInteger(new
BigInteger
(1,
31
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973"));
32
this.cofactor =
BigInteger
.valueOf(1);
53
public
BigInteger
getQ()
63
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP521R1Curve.java
3
import java.math.
BigInteger
;
14
public static final
BigInteger
q = new
BigInteger
(1,
27
this.a = fromBigInteger(new
BigInteger
(1,
29
this.b = fromBigInteger(new
BigInteger
(1,
31
this.order = new
BigInteger
(1, Hex.decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409"));
32
this.cofactor =
BigInteger
.valueOf(1);
53
public
BigInteger
getQ()
63
public ECFieldElement fromBigInteger(
BigInteger
x)
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/
SecP192R1Curve.java
4
import java.math.
BigInteger
;
18
public static final
BigInteger
q = new
BigInteger
(1,
31
this.a = fromBigInteger(new
BigInteger
(1,
33
this.b = fromBigInteger(new
BigInteger
(1,
35
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"));
36
this.cofactor =
BigInteger
.valueOf(1);
57
public
BigInteger
getQ()
67
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP224R1Curve.java
4
import java.math.
BigInteger
;
18
public static final
BigInteger
q = new
BigInteger
(1,
31
this.a = fromBigInteger(new
BigInteger
(1,
33
this.b = fromBigInteger(new
BigInteger
(1,
35
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"));
36
this.cofactor =
BigInteger
.valueOf(1);
57
public
BigInteger
getQ()
67
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP256R1Curve.java
4
import java.math.
BigInteger
;
18
public static final
BigInteger
q = new
BigInteger
(1,
31
this.a = fromBigInteger(new
BigInteger
(1,
33
this.b = fromBigInteger(new
BigInteger
(1,
35
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"));
36
this.cofactor =
BigInteger
.valueOf(1);
57
public
BigInteger
getQ()
67
public ECFieldElement fromBigInteger(
BigInteger
x)
SecP384R1Curve.java
4
import java.math.
BigInteger
;
18
public static final
BigInteger
q = new
BigInteger
(1,
31
this.a = fromBigInteger(new
BigInteger
(1,
33
this.b = fromBigInteger(new
BigInteger
(1,
35
this.order = new
BigInteger
(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973"));
36
this.cofactor =
BigInteger
.valueOf(1);
57
public
BigInteger
getQ()
67
public ECFieldElement fromBigInteger(
BigInteger
x)
Completed in 3290 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>