/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | SaProposalTest.java | 37 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/ |
D | SaProposal.java | 27 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()
|
D | ChildSaProposal.java | 24 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform; 62 EncryptionTransform[] encryptionAlgos, in ChildSaProposal() 198 EncryptionTransform[] encryptionTransforms = buildEncryptAlgosOrThrow(); in build()
|
D | IkeSaProposal.java | 25 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/ |
D | IkeSaPayloadTest.java | 53 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 …]
|
D | IkeEncryptedPayloadBodyTest.java | 29 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()
|
D | IkeSkPayloadTest.java | 26 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform; 76 new EncryptionTransform( in setUp()
|
D | IkeSkfPayloadTest.java | 33 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/ |
D | IkeSaPayload.java | 616 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/ |
D | IkeCipher.java | 22 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/ |
D | IkeNormalModeCipherTest.java | 29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform; 78 new EncryptionTransform( in setUp()
|
D | IkeCombinedModeCipherTest.java | 29 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/ |
D | SaRecordTest.java | 53 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform; 163 new EncryptionTransform( in setUp()
|
D | ChildSessionStateMachineTest.java | 116 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()
|
D | IkeSessionStateMachineTest.java | 154 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()
|