Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DAlgorithmParameterGeneratorSpi.java62 DSAParametersGenerator pGen; in engineGenerateParameters() local
66 pGen = new DSAParametersGenerator(); in engineGenerateParameters()
70 pGen = new DSAParametersGenerator(new SHA256Digest()); in engineGenerateParameters()
83 pGen.init(params); in engineGenerateParameters()
88 pGen.init(params); in engineGenerateParameters()
92 pGen.init(strength, certainty, random); in engineGenerateParameters()
95 DSAParameters p = pGen.generateParameters(); in engineGenerateParameters()
DKeyPairGeneratorSpi.java123 DSAParametersGenerator pGen; in generateKeyPair() local
137 pGen = new DSAParametersGenerator(); in generateKeyPair()
140 pGen.init(strength, certainty, random); in generateKeyPair()
145 pGen.init(dsaParams); in generateKeyPair()
151 pGen = new DSAParametersGenerator(new SHA256Digest()); in generateKeyPair()
152 pGen.init(dsaParams); in generateKeyPair()
156 pGen = new DSAParametersGenerator(); in generateKeyPair()
157 pGen.init(strength, certainty, random); in generateKeyPair()
159 param = new DSAKeyGenerationParameters(random, pGen.generateParameters()); in generateKeyPair()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DAlgorithmParameterGeneratorSpi.java66 DSAParametersGenerator pGen; in engineGenerateParameters() local
70 pGen = new DSAParametersGenerator(); in engineGenerateParameters()
74 pGen = new DSAParametersGenerator(new SHA256Digest()); in engineGenerateParameters()
87 pGen.init(params); in engineGenerateParameters()
92 pGen.init(params); in engineGenerateParameters()
96 pGen.init(strength, certainty, random); in engineGenerateParameters()
99 DSAParameters p = pGen.generateParameters(); in engineGenerateParameters()
DKeyPairGeneratorSpi.java127 DSAParametersGenerator pGen; in generateKeyPair() local
141 pGen = new DSAParametersGenerator(); in generateKeyPair()
144 pGen.init(strength, certainty, random); in generateKeyPair()
149 pGen.init(dsaParams); in generateKeyPair()
155 pGen = new DSAParametersGenerator(new SHA256Digest()); in generateKeyPair()
156 pGen.init(dsaParams); in generateKeyPair()
160 pGen = new DSAParametersGenerator(); in generateKeyPair()
161 pGen.init(strength, certainty, random); in generateKeyPair()
163 param = new DSAKeyGenerationParameters(random, pGen.generateParameters()); in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DAlgorithmParameterGeneratorSpi.java66 DSAParametersGenerator pGen; in engineGenerateParameters() local
70 pGen = new DSAParametersGenerator(); in engineGenerateParameters()
74 pGen = new DSAParametersGenerator(new SHA256Digest()); in engineGenerateParameters()
87 pGen.init(params); in engineGenerateParameters()
92 pGen.init(params); in engineGenerateParameters()
96 pGen.init(strength, certainty, random); in engineGenerateParameters()
99 DSAParameters p = pGen.generateParameters(); in engineGenerateParameters()
DKeyPairGeneratorSpi.java127 DSAParametersGenerator pGen; in generateKeyPair() local
141 pGen = new DSAParametersGenerator(); in generateKeyPair()
144 pGen.init(strength, certainty, random); in generateKeyPair()
149 pGen.init(dsaParams); in generateKeyPair()
155 pGen = new DSAParametersGenerator(new SHA256Digest()); in generateKeyPair()
156 pGen.init(dsaParams); in generateKeyPair()
160 pGen = new DSAParametersGenerator(); in generateKeyPair()
161 pGen.init(strength, certainty, random); in generateKeyPair()
163 param = new DSAKeyGenerationParameters(random, pGen.generateParameters()); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DAlgorithmParameterGeneratorSpi.java51 DHParametersGenerator pGen = new DHParametersGenerator(); in engineGenerateParameters() local
55 pGen.init(strength, certainty, CryptoServicesRegistrar.getSecureRandom(random)); in engineGenerateParameters()
57 DHParameters p = pGen.generateParameters(); in engineGenerateParameters()
DKeyPairGeneratorSpi.java126 DHParametersGenerator pGen = new DHParametersGenerator(); in generateKeyPair() local
128pGen.init(strength, PrimeCertaintyCalculator.getDefaultCertainty(strength), random); in generateKeyPair()
130 … param = new DHKeyGenerationParameters(random, pGen.generateParameters()); in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DAlgorithmParameterGeneratorSpi.java55 DHParametersGenerator pGen = new DHParametersGenerator(); in engineGenerateParameters() local
59 pGen.init(strength, certainty, CryptoServicesRegistrar.getSecureRandom(random)); in engineGenerateParameters()
61 DHParameters p = pGen.generateParameters(); in engineGenerateParameters()
DKeyPairGeneratorSpi.java130 DHParametersGenerator pGen = new DHParametersGenerator(); in generateKeyPair() local
132pGen.init(strength, PrimeCertaintyCalculator.getDefaultCertainty(strength), random); in generateKeyPair()
134 … param = new DHKeyGenerationParameters(random, pGen.generateParameters()); in generateKeyPair()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/
DAlgorithmParameterGeneratorSpi.java55 DHParametersGenerator pGen = new DHParametersGenerator(); in engineGenerateParameters() local
59 pGen.init(strength, certainty, CryptoServicesRegistrar.getSecureRandom(random)); in engineGenerateParameters()
61 DHParameters p = pGen.generateParameters(); in engineGenerateParameters()
DKeyPairGeneratorSpi.java130 DHParametersGenerator pGen = new DHParametersGenerator(); in generateKeyPair() local
132pGen.init(strength, PrimeCertaintyCalculator.getDefaultCertainty(strength), random); in generateKeyPair()
134 … param = new DHKeyGenerationParameters(random, pGen.generateParameters()); in generateKeyPair()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp35 void TestProcessPath(CPDF_PageContentGenerator* pGen, in TestProcessPath() argument
38 pGen->ProcessPath(buf, pPathObj); in TestProcessPath()
41 CPDF_Dictionary* TestGetResource(CPDF_PageContentGenerator* pGen, in TestGetResource() argument
44 return pGen->m_pObjHolder->m_pResources->GetDictFor(type)->GetDictFor(name); in TestGetResource()
47 void TestProcessText(CPDF_PageContentGenerator* pGen, in TestProcessText() argument
50 pGen->ProcessText(buf, pTextObj); in TestProcessText()
/external/OpenCL-CTS/test_conformance/spir/
Ddatagen.cpp91 KernelArgGenerator* pGen) in setArgGenerator() argument
93 m_argGenerators[argInfo.getTypeName()] = pGen; in setArgGenerator()