Home
last modified time | relevance | path

Searched refs:IkeCipher (Results 1 – 20 of 20) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeNormalModeCipherTest.java90 IkeCipher.create( in setUp()
103 IkeCipher.create( in setUp()
204 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_CBC)); in testGetIpSecAlgorithmName()
207 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_CTR)); in testGetIpSecAlgorithmName()
210 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_8)); in testGetIpSecAlgorithmName()
213 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_12)); in testGetIpSecAlgorithmName()
216 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_16)); in testGetIpSecAlgorithmName()
219 IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_CHACHA20_POLY1305)); in testGetIpSecAlgorithmName()
220 assertNull(IkeCipher.getIpSecAlgorithmName(SaProposal.ENCRYPTION_ALGORITHM_3DES)); in testGetIpSecAlgorithmName()
DIkeCombinedModeCipherTest.java86 IkeCipher.create( in setUp()
100 IkeCipher.create( in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkPayload.java23 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
60 IkeCipher decryptCipher, in IkeSkPayload()
90 IkeCipher decryptCipher, in IkeSkPayload()
125 IkeCipher encryptCipher, in IkeSkPayload()
148 IkeCipher encryptCipher, in IkeSkPayload()
DIkeMessage.java36 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
136 IkeCipher decryptCipher, in decode()
231 IkeCipher encryptCipher, in encryptAndEncode()
382 IkeCipher encryptCipher, in encryptAndEncode()
414 IkeCipher decryptCipher, in decode()
436 IkeCipher encryptCipher, in encryptAndEncode()
463 IkeCipher encryptCipher, in encryptAndEncode()
590 IkeCipher decryptCipher, in decode()
611 IkeCipher decryptCipher, in decode()
720 IkeCipher decryptCipher, in decryptAndAuthenticate()
DIkePayloadFactory.java25 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
104 IkeCipher decryptCipher, in decodeIkeSkPayload()
179 IkeCipher decryptCipher, in getIkeSkPayload()
240 IkeCipher decryptCipher, in decodeIkeSkPayload()
DIkeEncryptedPayloadBody.java22 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
74 IkeCipher decryptCipher, in IkeEncryptedPayloadBody()
130 IkeCipher encryptCipher, in IkeEncryptedPayloadBody()
154 IkeCipher encryptCipher, in IkeEncryptedPayloadBody()
203 private int getChecksum(IkeMacIntegrity integrityMac, IkeCipher decryptCipher) { in getChecksum()
DIkeSkfPayload.java24 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
61 IkeCipher decryptCipher, in IkeSkfPayload()
108 IkeCipher encryptCipher, in IkeSkfPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkPayloadTest.java24 import com.android.internal.net.ipsec.test.ike.crypto.IkeCipher;
66 private IkeCipher mAesCbcDecryptCipher;
75 IkeCipher.create( in setUp()
DIkeEncryptedPayloadBodyTest.java25 import com.android.internal.net.ipsec.test.ike.crypto.IkeCipher;
219 IkeCipher.create( in setUp()
224 IkeCipher.create( in setUp()
237 IkeCipher.create( in setUp()
DIkeSkfPayloadTest.java30 import com.android.internal.net.ipsec.test.ike.crypto.IkeCipher;
99 IkeCipher.create( in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCipher.java38 public abstract class IkeCipher extends IkeCrypto { class
84 protected IkeCipher( in IkeCipher() method in IkeCipher
111 public static IkeCipher create(EncryptionTransform encryptionTransform) { in create()
DIkeNormalModeCipher.java40 public final class IkeNormalModeCipher extends IkeCipher {
DIkeCombinedModeCipher.java49 public final class IkeCombinedModeCipher extends IkeCipher {
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java34 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
503 IkeCipher encryptionAlgo, in makeIpSecTransform()
608 public final IkeCipher encryptionAlgo;
624 IkeCipher encryptionAlgo, in ChildSaRecordConfig()
1046 IkeCipher encryptionAlgo, in makeChildSaRecord()
1213 IkeCipher encryptionAlgo, in makeIpSecTransform()
DChildSessionStateMachine.java84 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
217 @VisibleForTesting IkeCipher mChildCipher;
881 mChildCipher = IkeCipher.create(mSaProposal.getEncryptionTransforms()[0]); in setUpNegotiatedResult()
DIkeSessionStateMachine.java119 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
477 @VisibleForTesting IkeCipher mIkeCipher;
3342 mIkeCipher = IkeCipher.create(mSaProposal.getEncryptionTransforms()[0]); in validateIkeInitResp()
4497 IkeCipher newCipher; in validateAndBuildIkeSa()
4500 newCipher = IkeCipher.create(respProposal.saProposal.getEncryptionTransforms()[0]); in validateAndBuildIkeSa()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java50 import com.android.internal.net.ipsec.test.ike.crypto.IkeCipher;
150 private IkeCipher mAesCbcCipher;
164 IkeCipher.create( in setUp()
DChildSessionStateMachineTest.java101 import com.android.internal.net.ipsec.test.ike.crypto.IkeCipher;
767 mChildSessionStateMachine.mChildCipher = mock(IkeCipher.class); in setupIdleStateMachine()
DIkeSessionStateMachineTest.java161 import com.android.internal.net.ipsec.test.ike.crypto.IkeCipher;
1895 mIkeSessionStateMachine.mIkeCipher = mock(IkeCipher.class); in setIkeInitResults()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSaProposal.java27 import com.android.internal.net.ipsec.ike.crypto.IkeCipher;
177 String ipSecAlgoName = IkeCipher.getIpSecAlgorithmName(ikeAlgoId); in getSupportedEncryptionAlgorithms()