/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | SaProposal.java | 28 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 212 private final IntegrityTransform[] mIntegrityAlgorithms; 219 IntegrityTransform[] integrityAlgos, in SaProposal() 276 IntegrityTransform[] selected, IntegrityTransform[] selectFrom) { in isIntegrityTransformSelectedFrom() 278 selected = new IntegrityTransform[] {new IntegrityTransform(INTEGRITY_ALGORITHM_NONE)}; in isIntegrityTransformSelectedFrom() 282 new IntegrityTransform[] {new IntegrityTransform(INTEGRITY_ALGORITHM_NONE)}; in isIntegrityTransformSelectedFrom() 360 public IntegrityTransform[] getIntegrityTransforms() { in getIntegrityTransforms() 403 protected final LinkedHashSet<IntegrityTransform> mProposedIntegrityAlgos = 459 mProposedIntegrityAlgos.add(new IntegrityTransform(algorithm)); in addIntegrityAlgo()
|
D | ChildSaProposal.java | 26 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 63 IntegrityTransform[] integrityAlgos, in ChildSaProposal() 174 private IntegrityTransform[] buildIntegAlgosOrThrow() { in buildIntegAlgosOrThrow() 178 for (IntegrityTransform transform : mProposedIntegrityAlgos) { in buildIntegAlgosOrThrow() 188 new IntegrityTransform[mProposedIntegrityAlgos.size()]); in buildIntegAlgosOrThrow() 199 IntegrityTransform[] integrityTransforms = buildIntegAlgosOrThrow(); in build()
|
D | IkeSaProposal.java | 26 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 67 IntegrityTransform[] integrityAlgos, in IkeSaProposal() 175 private IntegrityTransform[] buildIntegAlgosOrThrow() { in buildIntegAlgosOrThrow() 187 for (IntegrityTransform transform : mProposedIntegrityAlgos) { in buildIntegAlgosOrThrow() 197 new IntegrityTransform[mProposedIntegrityAlgos.size()]); in buildIntegAlgosOrThrow() 233 IntegrityTransform[] integrityTransforms = buildIntegAlgosOrThrow(); in build()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | SaProposalTest.java | 38 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 48 private final IntegrityTransform mIntegrityHmacSha1Transform; 49 private final IntegrityTransform mIntegrityNoneTransform; 63 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96); in SaProposalTest() 64 mIntegrityNoneTransform = new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_NONE); in SaProposalTest() 85 new IntegrityTransform[] {mIntegrityHmacSha1Transform}, in testBuildIkeSaProposalWithNormalModeCipher() 130 new IntegrityTransform[] {mIntegrityNoneTransform}, in testBuildChildSaProposalWithNormalCipher()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayload.java | 618 List<IntegrityTransform> integAlgoList = new LinkedList<>(); in readFrom() 633 integAlgoList.add((IntegrityTransform) transform); in readFrom() 652 integAlgoList.toArray(new IntegrityTransform[integAlgoList.size()]), in readFrom() 660 integAlgoList.toArray(new IntegrityTransform[integAlgoList.size()]), in readFrom() 1033 return new IntegrityTransform(id, attributeList); in readFrom() 1398 public static final class IntegrityTransform extends Transform { class in IkeSaPayload 1404 public IntegrityTransform(@IntegrityAlgorithm int id) { in IntegrityTransform() method in IkeSaPayload.IntegrityTransform 1415 protected IntegrityTransform(int id, List<Attribute> attributeList) in IntegrityTransform() method in IkeSaPayload.IntegrityTransform 1427 if (!(o instanceof IntegrityTransform)) return false; in equals() 1429 IntegrityTransform other = (IntegrityTransform) o; in equals()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacIntegrityTest.java | 28 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 77 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96)); in setUp() 83 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_AES_XCBC_96)); in setUp()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayloadTest.java | 56 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 150 private IntegrityTransform mIntegHmacSha1Transform; 191 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96); in setUp() 394 assertTrue(transform instanceof IntegrityTransform); in testDecodeIntegrityTransform() 410 assertTrue(transform instanceof IntegrityTransform); in testDecodeIntegrityTransformWithUnrecognizedAttribute() 429 new IntegrityTransform(-1); in testConstructIntegrityTransformWithUnsupportedId() 608 IntegrityTransform mIntegHmacSha1TransformOther = in testTransformEquals() 609 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96); in testTransformEquals()
|
D | IkeSkPayloadTest.java | 27 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 82 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96)); in setUp()
|
D | IkeSkfPayloadTest.java | 34 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 90 new IntegrityTransform( in setUp()
|
D | IkeEncryptedPayloadBodyTest.java | 30 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 232 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96)); in setUp()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMacIntegrity.java | 22 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 58 public static IkeMacIntegrity create(IntegrityTransform integrityTransform) { 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.ike.message.IkeSaPayload.IntegrityTransform; 160 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96)); in setUp()
|
D | ChildSessionStateMachineTest.java | 117 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 209 private IntegrityTransform mChildIntegrityTransform; 233 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96); in ChildSessionStateMachineTest() 453 new IntegrityTransform[] {mChildIntegrityTransform}, in verifyInitCreateChildResp()
|
D | IkeSessionStateMachineTest.java | 155 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform; 323 private IntegrityTransform mIkeIntegrityTransform; 712 new IntegrityTransform(SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96); in setUp() 1420 new IntegrityTransform[] {mIkeIntegrityTransform}, in disableTestCreateIkeLocalIkeInit()
|