Searched refs:PrfTransform (Results 1 – 13 of 13) sorted by relevance
27 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;49 private final PrfTransform[] mPseudorandomFunctions;66 PrfTransform[] prfs, in IkeSaProposal()92 public PrfTransform[] getPrfTransforms() { in getPrfTransforms()122 private final Set<PrfTransform> mProposedPrfs = new ArraySet<>();171 mProposedPrfs.add(new PrfTransform(algorithm)); in addPseudorandomFunction()216 private PrfTransform[] buildPrfsOrThrow() { in buildPrfsOrThrow()221 return mProposedPrfs.toArray(new PrfTransform[mProposedPrfs.size()]); in buildPrfsOrThrow()232 PrfTransform[] prfTransforms = buildPrfsOrThrow(); in build()
29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;402 protected final LinkedHashSet<PrfTransform> mProposedPrfs = new LinkedHashSet<>();
39 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;50 private final PrfTransform mPrfAes128XCbcTransform;65 mPrfAes128XCbcTransform = new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_AES128_XCBC); in SaProposalTest()88 new PrfTransform[] {mPrfAes128XCbcTransform}, proposal.getPrfTransforms()); in testBuildIkeSaProposalWithNormalModeCipher()109 new PrfTransform[] {mPrfAes128XCbcTransform}, proposal.getPrfTransforms()); in testBuildIkeSaProposalWithCombinedModeCipher()
617 List<PrfTransform> prfList = new LinkedList<>(); in readFrom()630 prfList.add((PrfTransform) transform); in readFrom()651 prfList.toArray(new PrfTransform[prfList.size()]), in readFrom()1031 return new PrfTransform(id, attributeList); in readFrom()1317 public static final class PrfTransform extends Transform { class in IkeSaPayload1323 public PrfTransform(@PseudorandomFunction int id) { in PrfTransform() method in IkeSaPayload.PrfTransform1334 protected PrfTransform(int id, List<Attribute> attributeList) in PrfTransform() method in IkeSaPayload.PrfTransform1346 if (!(o instanceof PrfTransform)) return false; in equals()1348 PrfTransform other = (PrfTransform) o; in equals()
27 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;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()
29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;92 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
28 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;84 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
31 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;92 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
58 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;151 private PrfTransform mPrfHmacSha1Transform;192 mPrfHmacSha1Transform = new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1); in setUp()359 assertTrue(transform instanceof PrfTransform); in testDecodePrfTransform()378 new PrfTransform(-1); in testConstructPrfTransformWithUnsupportedId()
22 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;61 public static IkeMacPrf create(PrfTransform prfTransform) { in create()
55 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;157 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setUp()
156 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;324 private PrfTransform mIkePrfTransform;713 mIkePrfTransform = new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1); in setUp()1422 assertEquals(new PrfTransform[] {mIkePrfTransform}, negotiatedProposal.getPrfTransforms()); in disableTestCreateIkeLocalIkeInit()1501 IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in mockIkeInitAndTransitionToIkeAuth()
118 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.PrfTransform;243 mIkePrf = IkeMacPrf.create(new PrfTransform(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1)); in setup()