Searched refs:PrfTransform (Results 1 – 13 of 13) sorted by relevance
28 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;53 private final PrfTransform[] mPseudorandomFunctions;70 PrfTransform[] prfs, in IkeSaProposal()191 public PrfTransform[] getPrfTransforms() { in getPrfTransforms()235 private final Set<PrfTransform> mProposedPrfs = new ArraySet<>();293 mProposedPrfs.add(new PrfTransform(algorithm)); in addPseudorandomFunction()338 private PrfTransform[] buildPrfsOrThrow() { in buildPrfsOrThrow()343 return mProposedPrfs.toArray(new PrfTransform[mProposedPrfs.size()]); in buildPrfsOrThrow()354 PrfTransform[] prfTransforms = buildPrfsOrThrow(); in build()
29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;496 protected final LinkedHashSet<PrfTransform> mProposedPrfs = new LinkedHashSet<>();
29 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;177 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()179 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_SHA2_256)); in setUp()181 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_AES128_XCBC)); in setUp()186 new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_AES128_CMAC)); in setUp()
42 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;59 private final PrfTransform mPrfAes128XCbcTransform;80 mPrfAes128XCbcTransform = new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_AES128_XCBC); in SaProposalTest()106 new PrfTransform[] {mPrfAes128XCbcTransform}, proposal.getPrfTransforms()); in testBuildIkeSaProposalWithNormalModeCipher()127 new PrfTransform[] {mPrfAes128XCbcTransform}, proposal.getPrfTransforms()); in testBuildIkeSaProposalWithCombinedModeCipher()
685 List<PrfTransform> prfList = new LinkedList<>(); in readFrom()698 prfList.add((PrfTransform) transform); in readFrom()719 prfList.toArray(new PrfTransform[prfList.size()]), in readFrom()1099 return new PrfTransform(id, attributeList); in readFrom()1408 public static final class PrfTransform extends Transform { class in IkeSaPayload1414 public PrfTransform(@PseudorandomFunction int id) { in PrfTransform() method in IkeSaPayload.PrfTransform1425 protected PrfTransform(int id, List<Attribute> attributeList) in PrfTransform() method in IkeSaPayload.PrfTransform1437 if (!(o instanceof PrfTransform)) return false; in equals()1439 PrfTransform other = (PrfTransform) o; in equals()
29 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;92 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
28 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;84 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
40 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;123 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
67 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;160 private PrfTransform mPrfHmacSha1Transform;201 mPrfHmacSha1Transform = new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1); in setUp()368 assertTrue(transform instanceof PrfTransform); in testDecodePrfTransform()387 new PrfTransform(-1); in testConstructPrfTransformWithUnsupportedId()
25 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;64 public static IkeMacPrf create(PrfTransform prfTransform) { in create()
56 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;159 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
128 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;269 mIkePrf = IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setup()
206 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.PrfTransform;428 private PrfTransform mIkePrfTransform;816 mIkePrfTransform = new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1); in setUp()2051 assertEquals(new PrfTransform[] {mIkePrfTransform}, negotiatedProposal.getPrfTransforms()); in verifyIkeSaNegotiationResult()2161 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in mockIkeInitAndTransitionToIkeAuth()