Home
last modified time | relevance | path

Searched refs:algorithmName (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrf.java50 String algorithmName, in IkeMacPrf() argument
52 super(algorithmId, keyLength, algorithmName, isEncryptAlgo); in IkeMacPrf()
65 String algorithmName = ""; in create() local
71 algorithmName = "HmacSHA1"; in create()
76 algorithmName = "AES_128/CBC/NoPadding"; in create()
80 algorithmName = "HmacSHA256"; in create()
84 algorithmName = "HmacSHA384"; in create()
88 algorithmName = "HmacSHA512"; in create()
94 return new IkeMacPrf(algorithmId, keyLength, algorithmName, isEncryptAlgo); in create()
DIkeMacIntegrity.java45 String algorithmName, in IkeMacIntegrity() argument
48 super(algorithmId, keyLength, algorithmName, isEncryptAlgo); in IkeMacIntegrity()
62 String algorithmName = ""; in create() local
71 algorithmName = "HmacSHA1"; in create()
77 algorithmName = "AES/CBC/NoPadding"; in create()
82 algorithmName = "HmacSHA256"; in create()
87 algorithmName = "HmacSHA384"; in create()
92 algorithmName = "HmacSHA512"; in create()
101 algorithmId, keyLength, algorithmName, isEncryptAlgo, checksumLength); in create()
DAesXCbcImpl.java54 String algorithmName = aesCbcCipher.getAlgorithm(); in AesXCbcImpl() local
55 if (!sSupportedAlgorithms.contains(algorithmName)) { in AesXCbcImpl()
56 throw new IllegalArgumentException("Cannot use AES_XCBC for " + algorithmName); in AesXCbcImpl()
DIkeCrypto.java28 protected IkeCrypto(int algorithmId, int keyLength, String algorithmName) { in IkeCrypto() argument
31 mAlgorithmName = algorithmName; in IkeCrypto()
DIkeCipher.java49 int algorithmId, int keyLength, int ivLength, String algorithmName, boolean isAead) { in IkeCipher() argument
50 super(algorithmId, keyLength, algorithmName); in IkeCipher()
DIkeNormalModeCipher.java41 IkeNormalModeCipher(int algorithmId, int keyLength, int ivLength, String algorithmName) { in IkeNormalModeCipher() argument
42 super(algorithmId, keyLength, ivLength, algorithmName, false /*isAead*/); in IkeNormalModeCipher()
DIkeMac.java44 protected IkeMac(int algorithmId, int keyLength, String algorithmName, boolean isEncryptAlgo) { in IkeMac() argument
45 super(algorithmId, keyLength, algorithmName); in IkeMac()
DIkeCombinedModeCipher.java55 IkeCombinedModeCipher(int algorithmId, int keyLength, int ivLength, String algorithmName) { in IkeCombinedModeCipher() argument
56 super(algorithmId, keyLength, ivLength, algorithmName, true /*isAead*/); in IkeCombinedModeCipher()
/packages/modules/ExtServices/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImpl.java67 String algorithmName = defaultAlgorithm; in calculateScores() local
70 algorithmName = algorithms.get(categoryId); in calculateScores()
76 if (algorithmName == null || (!algorithmName.equals(DEFAULT_ALGORITHM) in calculateScores()
77 && !algorithmName.equals(REQUIRED_ALGORITHM_EXACT_MATCH))) { in calculateScores()
78 Log.w(TAG, "algorithmName is " + algorithmName + ", defaulting to " in calculateScores()
80 algorithmName = DEFAULT_ALGORITHM; in calculateScores()
84 if (algorithmName.equals(DEFAULT_ALGORITHM)) { in calculateScores()