Home
last modified time | relevance | path

Searched refs:ecCurveName (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore2/
DKeymasterUtils.java144 static int getKeymasterEcCurve(String ecCurveName) { in getKeymasterEcCurve() argument
145 if (ecCurveName.equals("secp224r1")) { in getKeymasterEcCurve()
147 } else if (ecCurveName.equals("secp256r1")) { in getKeymasterEcCurve()
149 } else if (ecCurveName.equals("secp384r1")) { in getKeymasterEcCurve()
151 } else if (ecCurveName.equals("secp521r1")) { in getKeymasterEcCurve()
DAndroidKeyStoreKeyPairGeneratorSpi.java216 private static @EcCurve int keySizeAndNameToEcCurve(int keySizeBits, String ecCurveName) in keySizeAndNameToEcCurve() argument
222 if (isCurve25519(ecCurveName)) { in keySizeAndNameToEcCurve()
415 private static boolean isCurve25519(String ecCurveName) { in isCurve25519() argument
416 if (ecCurveName == null) { in isCurve25519()
419 return ecCurveName.equalsIgnoreCase(CURVE_X_25519) in isCurve25519()
420 || ecCurveName.equalsIgnoreCase(CURVE_ED_25519); in isCurve25519()