Home
last modified time | relevance | path

Searched refs:EncryptionTransform (Results 1 – 15 of 15) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java37 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
45 private final EncryptionTransform mEncryption3DesTransform;
46 private final EncryptionTransform mEncryptionAesGcm8Transform;
47 private final EncryptionTransform mEncryptionAesGcm12Transform;
55 new EncryptionTransform(SaProposal.ENCRYPTION_ALGORITHM_3DES, KEY_LEN_UNUSED); in SaProposalTest()
57 new EncryptionTransform( in SaProposalTest()
60 new EncryptionTransform( in SaProposalTest()
82 new EncryptionTransform[] {mEncryption3DesTransform}, in testBuildIkeSaProposalWithNormalModeCipher()
106 new EncryptionTransform[] {mEncryptionAesGcm8Transform}, in testBuildIkeSaProposalWithCombinedModeCipher()
127 new EncryptionTransform[] {mEncryption3DesTransform}, in testBuildChildSaProposalWithNormalCipher()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DSaProposal.java27 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
211 private final EncryptionTransform[] mEncryptionAlgorithms;
218 EncryptionTransform[] encryptionAlgos, in SaProposal()
320 for (EncryptionTransform transform : mEncryptionAlgorithms) { in getEncryptionAlgorithms()
355 public EncryptionTransform[] getEncryptionTransforms() { in getEncryptionTransforms()
400 protected final LinkedHashSet<EncryptionTransform> mProposedEncryptAlgos =
427 protected EncryptionTransform[] buildEncryptAlgosOrThrow() { in buildEncryptAlgosOrThrow()
434 new EncryptionTransform[mProposedEncryptAlgos.size()]); in buildEncryptAlgosOrThrow()
441 EncryptionTransform encryptionTransform = new EncryptionTransform(algorithm, keyLength); in validateAndAddEncryptAlgo()
DChildSaProposal.java24 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
62 EncryptionTransform[] encryptionAlgos, in ChildSaProposal()
198 EncryptionTransform[] encryptionTransforms = buildEncryptAlgosOrThrow(); in build()
DIkeSaProposal.java25 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
65 EncryptionTransform[] encryptionAlgos, in IkeSaProposal()
231 EncryptionTransform[] encryptionTransforms = buildEncryptAlgosOrThrow(); in build()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java53 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
148 private EncryptionTransform mEncrAesCbc128Transform;
149 private EncryptionTransform mEncrAesGcm8Key128Transform;
185 new EncryptionTransform( in setUp()
188 new EncryptionTransform( in setUp()
297 assertTrue(transform instanceof EncryptionTransform); in testDecodeEncryptionTransform()
334 new EncryptionTransform(-1); in testConstructEncryptionTransformWithUnsupportedId()
343 new EncryptionTransform(SaProposal.ENCRYPTION_ALGORITHM_3DES, 129); in testConstructEncryptionTransformWithInvalidKeyLength()
596 EncryptionTransform mEncrAesGcm8Key128TransformOther = in testTransformEquals()
597 new EncryptionTransform( in testTransformEquals()
[all …]
DIkeEncryptedPayloadBodyTest.java29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
220 new EncryptionTransform(SaProposal.ENCRYPTION_ALGORITHM_3DES)); in setUp()
225 new EncryptionTransform( in setUp()
238 new EncryptionTransform( in setUp()
DIkeSkPayloadTest.java26 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
76 new EncryptionTransform( in setUp()
DIkeSkfPayloadTest.java33 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
100 new EncryptionTransform( in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java616 List<EncryptionTransform> encryptAlgoList = new LinkedList<>(); in readFrom()
627 encryptAlgoList.add((EncryptionTransform) transform); in readFrom()
650 new EncryptionTransform[encryptAlgoList.size()]), in readFrom()
659 new EncryptionTransform[encryptAlgoList.size()]), in readFrom()
1029 return new EncryptionTransform(id, attributeList); in readFrom()
1123 public static final class EncryptionTransform extends Transform { class in IkeSaPayload
1137 public EncryptionTransform(@EncryptionAlgorithm int id) { in EncryptionTransform() method in IkeSaPayload.EncryptionTransform
1148 public EncryptionTransform(@EncryptionAlgorithm int id, int specifiedKeyLength) { in EncryptionTransform() method in IkeSaPayload.EncryptionTransform
1166 protected EncryptionTransform(int id, List<Attribute> attributeList) in EncryptionTransform() method in IkeSaPayload.EncryptionTransform
1198 if (!(o instanceof EncryptionTransform)) return false; in equals()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCipher.java22 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
67 public static IkeCipher create(EncryptionTransform encryptionTransform) { in create()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeNormalModeCipherTest.java29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
78 new EncryptionTransform( in setUp()
DIkeCombinedModeCipherTest.java29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
68 new EncryptionTransform( in setUp()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java53 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
163 new EncryptionTransform( in setUp()
DChildSessionStateMachineTest.java116 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
208 private EncryptionTransform mChildEncryptionTransform;
230 new EncryptionTransform( in ChildSessionStateMachineTest()
450 new EncryptionTransform[] {mChildEncryptionTransform}, in verifyInitCreateChildResp()
DIkeSessionStateMachineTest.java154 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
322 private EncryptionTransform mIkeEncryptionTransform;
709 new EncryptionTransform( in setUp()
1417 new EncryptionTransform[] {mIkeEncryptionTransform}, in disableTestCreateIkeLocalIkeInit()