Home
last modified time | relevance | path

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

/aosp12/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
H A DSaProposalTest.java39 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
47 private final EncryptionTransform mEncryption3DesTransform;
48 private final EncryptionTransform mEncryptionAesCbcTransform;
49 private final EncryptionTransform mEncryptionAesGcm8Transform;
50 private final EncryptionTransform mEncryptionAesGcm12Transform;
63 new EncryptionTransform( in SaProposalTest()
66 new EncryptionTransform( in SaProposalTest()
69 new EncryptionTransform( in SaProposalTest()
94 new EncryptionTransform[] {mEncryption3DesTransform}, in testBuildIkeSaProposalWithNormalModeCipher()
118 new EncryptionTransform[] {mEncryptionAesGcm8Transform}, in testBuildIkeSaProposalWithCombinedModeCipher()
[all …]
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DSaProposal.java27 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
259 private final EncryptionTransform[] mEncryptionAlgorithms;
266 EncryptionTransform[] encryptionAlgos, in SaProposal()
309 EncryptionTransform::toPersistableBundle); in toPersistableBundle()
414 for (EncryptionTransform transform : mEncryptionAlgorithms) { in getEncryptionAlgorithms()
449 public EncryptionTransform[] getEncryptionTransforms() { in getEncryptionTransforms()
494 protected final LinkedHashSet<EncryptionTransform> mProposedEncryptAlgos =
525 protected EncryptionTransform[] buildEncryptAlgosOrThrow() { in buildEncryptAlgosOrThrow()
532 new EncryptionTransform[mProposedEncryptAlgos.size()]); in buildEncryptAlgosOrThrow()
539 EncryptionTransform encryptionTransform = new EncryptionTransform(algorithm, keyLength); in validateAndAddEncryptAlgo()
H A DIkeSaProposal.java26 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
69 EncryptionTransform[] encryptionAlgos, in IkeSaProposal()
92 List<EncryptionTransform> encryptList = in fromPersistableBundle()
94 encryptionBundle, EncryptionTransform::fromPersistableBundle); in fromPersistableBundle()
95 for (EncryptionTransform t : encryptList) { in fromPersistableBundle()
353 EncryptionTransform[] encryptionTransforms = buildEncryptAlgosOrThrow(); in build()
H A DChildSaProposal.java31 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
91 EncryptionTransform[] encryptionAlgos, in ChildSaProposal()
115 List<EncryptionTransform> encryptList = in fromPersistableBundle()
117 encryptionBundle, EncryptionTransform::fromPersistableBundle); in fromPersistableBundle()
118 for (EncryptionTransform t : encryptList) { in fromPersistableBundle()
364 EncryptionTransform[] encryptionTransforms = buildEncryptAlgosOrThrow(); in build()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeSaPayload.java617 List<EncryptionTransform> encryptAlgoList = new LinkedList<>(); in readFrom()
628 encryptAlgoList.add((EncryptionTransform) transform); in readFrom()
651 new EncryptionTransform[encryptAlgoList.size()]), in readFrom()
660 new EncryptionTransform[encryptAlgoList.size()]), in readFrom()
1030 return new EncryptionTransform(id, attributeList); in readFrom()
1124 public static final class EncryptionTransform extends Transform { class in IkeSaPayload
1141 public EncryptionTransform(@EncryptionAlgorithm int id) { in EncryptionTransform() method in IkeSaPayload.EncryptionTransform
1152 public EncryptionTransform(@EncryptionAlgorithm int id, int specifiedKeyLength) { in EncryptionTransform() method in IkeSaPayload.EncryptionTransform
1185 protected EncryptionTransform(int id, List<Attribute> attributeList) in EncryptionTransform() method in IkeSaPayload.EncryptionTransform
1217 if (!(o instanceof EncryptionTransform)) return false; in equals()
[all …]
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeSaPayloadTest.java148 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()
602 EncryptionTransform mEncrAesGcm8Key192Transform = in testTransformEquals()
[all …]
H A DIkeSkPayloadTest.java26 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
76 new EncryptionTransform( in setUp()
H A DIkeEncryptedPayloadBodyTest.java29 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
220 new EncryptionTransform(SaProposal.ENCRYPTION_ALGORITHM_3DES)); in setUp()
225 new EncryptionTransform( in setUp()
238 new EncryptionTransform( in setUp()
H A DIkeSkfPayloadTest.java33 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
100 new EncryptionTransform( in setUp()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
H A DIkeCombinedModeCipherTest.java29 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
87 new EncryptionTransform( in setUp()
101 new EncryptionTransform( in setUp()
H A DIkeNormalModeCipherTest.java30 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
91 new EncryptionTransform( in setUp()
104 new EncryptionTransform( in setUp()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
H A DIkeCipher.java24 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
111 public static IkeCipher create(EncryptionTransform encryptionTransform) { in create()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
H A DSaRecordTest.java54 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
165 new EncryptionTransform( in setUp()
H A DChildSessionStateMachineTest.java115 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
209 private EncryptionTransform mChildEncryptionTransform;
231 new EncryptionTransform( in ChildSessionStateMachineTest()
462 new EncryptionTransform[] {mChildEncryptionTransform}, in verifyInitCreateChildResp()
H A DIkeSessionStateMachineTest.java189 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform;
395 private EncryptionTransform mIkeEncryptionTransform;
811 new EncryptionTransform( in setUp()
1849 new EncryptionTransform[] {mIkeEncryptionTransform}, in verifyIkeSaNegotiationResult()