Home
last modified time | relevance | path

Searched refs:algorithmId (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCipher.java85 int algorithmId, in IkeCipher() argument
92 super(algorithmId, keyLength, algorithmName); in IkeCipher()
112 int algorithmId = encryptionTransform.id; in create() local
116 switch (algorithmId) { in create()
119 algorithmId, KEY_LEN_3DES, IV_LEN_3DES, "DESede/CBC/NoPadding"); in create()
122 algorithmId, in create()
128 algorithmId, in create()
140 algorithmId, in create()
147 algorithmId, in create()
155 "Unrecognized Encryption Algorithm ID: " + algorithmId); in create()
DIkeMacIntegrity.java66 @SaProposal.IntegrityAlgorithm int algorithmId, in IkeMacIntegrity()
71 super(algorithmId, keyLength, algorithmName, isJceSupported); in IkeMacIntegrity()
82 int algorithmId = integrityTransform.id; in create() local
89 switch (algorithmId) { in create()
125 "Unrecognized Integrity Algorithm ID: " + algorithmId); in create()
129 algorithmId, keyLength, algorithmName, isJceSupported, checksumLength); in create()
DIkeMacPrf.java51 @SaProposal.PseudorandomFunction int algorithmId, in IkeMacPrf()
55 super(algorithmId, keyLength, algorithmName, isJceSupported); in IkeMacPrf()
65 int algorithmId = prfTransform.id; in create() local
71 switch (algorithmId) { in create()
98 throw new IllegalArgumentException("Unrecognized PRF ID: " + algorithmId); in create()
101 return new IkeMacPrf(algorithmId, keyLength, algorithmName, isJceSupported); in create()
DIkeCombinedModeCipher.java54 int algorithmId, int keyLength, int ivLength, String algorithmName, int saltLen) { in IkeCombinedModeCipher() argument
55 this(algorithmId, keyLength, ivLength, algorithmName, saltLen, BLOCK_SIZE_NOT_SPECIFIED); in IkeCombinedModeCipher()
60 int algorithmId, in IkeCombinedModeCipher() argument
66 super(algorithmId, keyLength, ivLength, algorithmName, true /*isAead*/, saltLen, blockSize); in IkeCombinedModeCipher()
67 switch (algorithmId) { in IkeCombinedModeCipher()
82 "Unrecognized Encryption Algorithm ID: " + algorithmId); in IkeCombinedModeCipher()
DIkeNormalModeCipher.java45 IkeNormalModeCipher(int algorithmId, int keyLength, int ivLength, String algorithmName) { in IkeNormalModeCipher() argument
46 this(algorithmId, keyLength, ivLength, algorithmName, SALT_LEN_NOT_INCLUDED); in IkeNormalModeCipher()
51 int algorithmId, int keyLength, int ivLength, String algorithmName, int saltLen) { in IkeNormalModeCipher() argument
53 algorithmId, in IkeNormalModeCipher()
DIkeCrypto.java31 protected IkeCrypto(int algorithmId, int keyLength, String algorithmName) { in IkeCrypto() argument
32 mAlgorithmId = algorithmId; in IkeCrypto()
DIkeMac.java37 protected IkeMac(int algorithmId, int keyLength, String algorithmName, boolean isJceSupported) { in IkeMac() argument
38 super(algorithmId, keyLength, algorithmName); in IkeMac()