Home
last modified time | relevance | path

Searched refs:IkeMacPrf (Results 1 – 14 of 14) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java36 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
225 IkeMacPrf oldPrf, in makeRekeyedIkeSaRecord()
284 IkeMacPrf prf = ikeSaRecordConfig.prf; in makeIkeSaRecord()
591 public final IkeMacPrf ikePrf;
607 IkeMacPrf ikePrf, in ChildSaRecordConfig()
705 IkeMacPrf prf, in makeFirstIkeSaRecord()
726 IkeMacPrf oldPrf, in makeRekeyedIkeSaRecord()
731 IkeMacPrf prf, in makeRekeyedIkeSaRecord()
923 public final IkeMacPrf prf;
932 IkeMacPrf prf, in IkeSaRecordConfig()
[all …]
DChildSessionStateMachine.java78 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
190 @VisibleForTesting IkeMacPrf mIkePrf;
360 IkeMacPrf ikePrf, in handleFirstChildExchange()
392 IkeMacPrf ikePrf, in createChildSession()
DIkeSessionStateMachine.java104 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
417 @VisibleForTesting IkeMacPrf mIkePrf;
2954 mIkePrf = IkeMacPrf.create(mSaProposal.getPrfTransforms()[0]); in validateIkeInitResp()
3950 IkeMacPrf newPrf; in validateAndBuildIkeSa()
3960 newPrf = IkeMacPrf.create(respProposal.saProposal.getPrfTransforms()[0]); in validateAndBuildIkeSa()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPskPayload.java19 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
72 IkeMacPrf ikePrf, in IkeAuthPskPayload()
85 IkeMacPrf ikePrf, in calculatePskSignature()
116 IkeMacPrf ikePrf, in verifyInboundSignature()
DIkeAuthDigitalSignPayload.java23 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
175 IkeMacPrf ikePrf, in IkeAuthDigitalSignPayload()
251 IkeMacPrf ikePrf, in verifyInboundSignature()
DIkeAuthPayload.java22 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
102 IkeMacPrf ikePrf, in getSignedOctets()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrfTest.java148 private IkeMacPrf mIkeHmacSha1Prf;
149 private IkeMacPrf mIkeHmacSha256Prf;
150 private IkeMacPrf mIkeAes128XCbcPrf;
155 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
157 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_SHA2_256)); in setUp()
159 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_AES128_XCBC)); in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrf.java43 public class IkeMacPrf extends IkeMac { class
47 private IkeMacPrf( in IkeMacPrf() method in IkeMacPrf
61 public static IkeMacPrf create(PrfTransform prfTransform) { in create()
94 return new IkeMacPrf(algorithmId, keyLength, algorithmName, isEncryptAlgo); in create()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPayloadTest.java27 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
87 private IkeMacPrf mIkeHmacSha1Prf;
92 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
DIkeAuthPskPayloadTest.java26 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
79 private IkeMacPrf mIkeHmacSha1Prf;
84 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
DIkeAuthDigitalSignPayloadTest.java29 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
87 private IkeMacPrf mIkeHmacSha1Prf;
92 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java52 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
146 private IkeMacPrf mIkeHmacSha1Prf;
157 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
DChildSessionStateMachineTest.java101 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
183 private IkeMacPrf mIkePrf;
243 mIkePrf = IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setup()
DIkeSessionStateMachineTest.java125 import com.android.internal.net.ipsec.ike.crypto.IkeMacPrf;
1455 mIkeSessionStateMachine.mIkePrf = mock(IkeMacPrf.class); in setIkeInitResults()
1501 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in mockIkeInitAndTransitionToIkeAuth()