OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:curveName
(Results
1 - 17
of
17
) sorted by null
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
ECUtils.java
16
static X9ECParameters getDomainParametersFromName(String
curveName
)
21
if (
curveName
.charAt(0) >= '0' &&
curveName
.charAt(0) <= '2')
23
ASN1ObjectIdentifier oidID = new ASN1ObjectIdentifier(
curveName
);
28
if (
curveName
.indexOf(' ') > 0)
30
curveName
=
curveName
.substring(
curveName
.indexOf(' ') + 1);
31
domainParameters = ECUtil.getNamedCurveByName(
curveName
);
35
domainParameters = ECUtil.getNamedCurveByName(
curveName
);
[
all
...]
AlgorithmParametersSpi.java
23
private String
curveName
;
43
curveName
= ecGenParameterSpec.getName();
48
curveName
= null;
76
curveName
= ECNamedCurveTable.getName(ASN1ObjectIdentifier.getInstance(params.getParameters()));
97
if (
curveName
!= null)
99
ASN1ObjectIdentifier namedCurveOid = ECUtil.getNamedCurveOid(
curveName
);
105
return (T)new ECGenParameterSpec(
curveName
);
139
else if (
curveName
!= null)
141
params = new X962Parameters(ECUtil.getNamedCurveOid(
curveName
));
KeyPairGeneratorSpi.java
210
protected ECNamedCurveSpec createNamedCurveSpec(String
curveName
)
215
X9ECParameters p = ECUtils.getDomainParametersFromName(
curveName
);
221
p = ECNamedCurveTable.getByOID(new ASN1ObjectIdentifier(
curveName
));
224
throw new InvalidAlgorithmParameterException("unknown curve OID: " +
curveName
);
229
throw new InvalidAlgorithmParameterException("unknown curve name: " +
curveName
);
236
return new ECNamedCurveSpec(
curveName
, p.getCurve(), p.getG(), p.getN(), p.getH(), seed);
239
protected void initializeNamedCurve(String
curveName
, SecureRandom random)
242
ECNamedCurveSpec namedCurve = createNamedCurveSpec(
curveName
);
/libcore/ojluni/src/main/java/java/security/spec/
ECParameterSpec.java
115
private String
curveName
;
122
public void setCurveName(String
curveName
) {
123
this.
curveName
=
curveName
;
133
return
curveName
;
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLECKeyPairGenerator.java
56
final String
curveName
= SIZE_TO_CURVE_NAME.get(DEFAULT_KEY_SIZE);
57
group = OpenSSLECGroupContext.getCurveByName(
curveName
);
59
throw new RuntimeException("Curve not recognized: " +
curveName
);
97
final String
curveName
= ecParam.getName();
104
.getCurveByName(
curveName
);
106
throw new InvalidAlgorithmParameterException("unknown curve name: " +
curveName
);
119
for (String
curveName
: SIZE_TO_CURVE_NAME.values()) {
120
if (OpenSSLECGroupContext.getCurveByName(
curveName
) == null) {
121
invalidCurves.add(
curveName
);
OpenSSLECGroupContext.java
36
public static OpenSSLECGroupContext getCurveByName(String
curveName
) {
39
if ("secp256r1".equals(
curveName
)) {
40
curveName
= "prime256v1";
41
} else if ("secp192r1".equals(
curveName
)) {
42
curveName
= "prime192v1";
45
final long ctx = NativeCrypto.EC_GROUP_new_by_curve_name(
curveName
);
75
String
curveName
= Platform.getCurveName(params);
76
if (
curveName
!= null) {
77
return OpenSSLECGroupContext.getCurveByName(
curveName
);
105
curveName
= "secp224r1"
[
all
...]
NativeCrypto.java
162
public static native long EC_GROUP_new_by_curve_name(String
curveName
);
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
ECUtil.java
245
String
curveName
)
249
if (
curveName
.indexOf(' ') > 0)
251
name =
curveName
.substring(
curveName
.indexOf(' ') + 1);
255
name =
curveName
;
354
String
curveName
)
356
X9ECParameters params = CustomNamedCurves.getByName(
curveName
);
360
params = X962NamedCurves.getByName(
curveName
);
363
params = SECNamedCurves.getByName(
curveName
);
367
params = NISTNamedCurves.getByName(
curveName
);
[
all
...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
ESTHandler.java
338
String
curveName
= null;
410
curveName
= OidMappings.getJCEName(value);
411
if (
curveName
!= null) {
415
if (
curveName
== null) {
441
keyAlgo, sigAlgo,
curveName
, idAttributes));
466
if (
curveName
!= null) {
468
algorithmParameters.init(new ECNamedCurveGenParameterSpec(
curveName
));
/libcore/luni/src/test/java/libcore/java/security/
KeyPairGeneratorTest.java
257
for (String
curveName
: EC_NAMED_CURVES) {
258
kpg.initialize(new ECGenParameterSpec(
curveName
));
262
kpg.initialize(new ECGenParameterSpec(
curveName
), (SecureRandom) null);
266
kpg.initialize(new ECGenParameterSpec(
curveName
), new SecureRandom());
/external/conscrypt/src/platform/java/org/conscrypt/
Platform.java
99
public static void setCurveName(ECParameterSpec spec, String
curveName
) {
100
spec.setCurveName(
curveName
);
/external/conscrypt/src/compat/java/org/conscrypt/
Platform.java
104
public static void setCurveName(ECParameterSpec spec, String
curveName
) {
107
setCurveName.invoke(spec,
curveName
);
/external/conscrypt/src/openjdk/java/org/conscrypt/
Platform.java
94
public static void setCurveName(ECParameterSpec spec, String
curveName
) {
/frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreKeyPairGeneratorSpi.java
421
String
curveName
= ecSpec.getName();
423
curveName
.toLowerCase(Locale.US));
426
"Unsupported EC curve name: " +
curveName
[
all
...]
/cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorTest.java
[
all
...]
/external/conscrypt/src/main/native/
org_conscrypt_NativeCrypto.cpp
[
all
...]
/prebuilts/sdk/tools/lib/
signapk.jar
Completed in 3112 milliseconds