/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | SaProposalTest.java | 39 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; 61 new EncryptionTransform(SaProposal.ENCRYPTION_ALGORITHM_3DES, KEY_LEN_UNUSED); in SaProposalTest() 63 new EncryptionTransform( in SaProposalTest() 66 new EncryptionTransform( in SaProposalTest() 69 new EncryptionTransform( in SaProposalTest() 94 new EncryptionTransform[] {mEncryption3DesTransform}, in testBuildIkeSaProposalWithNormalModeCipher() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | SaProposal.java | 27 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()
|
D | IkeSaProposal.java | 26 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()
|
D | ChildSaProposal.java | 31 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()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayload.java | 617 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 1164 public static EncryptionTransform fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle() 1166 return new EncryptionTransform(in.getInt(ID_KEY), in.getInt(SPECIFIED_KEY_LEN_KEY)); in fromPersistableBundle() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayloadTest.java | 53 import com.android.internal.net.ipsec.test.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.test.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.test.ike.message.IkeSaPayload.EncryptionTransform; 76 new EncryptionTransform( in setUp()
|
D | IkeSkfPayloadTest.java | 33 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform; 100 new EncryptionTransform( in setUp()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeCombinedModeCipherTest.java | 29 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform; 87 new EncryptionTransform( in setUp() 101 new EncryptionTransform( in setUp()
|
D | IkeNormalModeCipherTest.java | 30 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform; 91 new EncryptionTransform( in setUp() 104 new EncryptionTransform( in setUp()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeCipher.java | 24 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform; 111 public static IkeCipher create(EncryptionTransform encryptionTransform) { in create()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecordTest.java | 54 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform; 165 new EncryptionTransform( in setUp()
|
D | ChildSessionStateMachineTest.java | 115 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()
|
D | IkeSessionStateMachineTest.java | 189 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()
|