Home
last modified time | relevance | path

Searched refs:PSource (Results 1 – 13 of 13) sorted by relevance

/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
DAlgorithmParametersTestOAEP.java28 import javax.crypto.spec.PSource;
127 …adding"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAUL… in AlgorithmParametersTestOAEP()
142 "SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT); in testEncoding()
157 new PSource.PSpecified(new byte[] {1, 2, 3, 4})); in testEncoding()
165 "SHA-1", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified.DEFAULT); in testEncoding()
188 Arrays.equals(PSource.PSpecified.DEFAULT.getValue(), in testEncoding()
189 ((PSource.PSpecified) producedSpec.getPSource()).getValue())); in testEncoding()
201 Arrays.equals(PSource.PSpecified.DEFAULT.getValue(), in testEncoding()
202 ((PSource.PSpecified) producedSpec.getPSource()).getValue())); in testEncoding()
215 ((PSource.PSpecified) producedSpec.getPSource()).getValue())); in testEncoding()
[all …]
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
DAlgorithmParametersTestOAEP.java29 import javax.crypto.spec.PSource;
131 …adding"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAUL… in AlgorithmParametersTestOAEP()
146 "SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT); in testEncoding()
161 new PSource.PSpecified(new byte[] {1, 2, 3, 4})); in testEncoding()
169 "SHA-1", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified.DEFAULT); in testEncoding()
192 Arrays.equals(PSource.PSpecified.DEFAULT.getValue(), in testEncoding()
193 ((PSource.PSpecified) producedSpec.getPSource()).getValue())); in testEncoding()
205 Arrays.equals(PSource.PSpecified.DEFAULT.getValue(), in testEncoding()
206 ((PSource.PSpecified) producedSpec.getPSource()).getValue())); in testEncoding()
219 ((PSource.PSpecified) producedSpec.getPSource()).getValue())); in testEncoding()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java22 import javax.crypto.spec.PSource;
100 …cipher = new OAEPEncoding(new RSABlindedEngine(), digest, ((PSource.PSpecified)pSpec.getPSource())… in initFromSpec()
218 …initFromSpec(new OAEPParameterSpec("MD5", "MGF1", new MGF1ParameterSpec("MD5"), PSource.PSpecified… in engineSetPadding()
230 …w OAEPParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), PSource.PSpecified.DEFAUL… in engineSetPadding()
234 …initFromSpec(new OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified… in engineSetPadding()
238 …initFromSpec(new OAEPParameterSpec("SHA-384", "MGF1", MGF1ParameterSpec.SHA384, PSource.PSpecified… in engineSetPadding()
242 …initFromSpec(new OAEPParameterSpec("SHA-512", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified… in engineSetPadding()
337 …cipher = new OAEPEncoding(new RSABlindedEngine(), digest, mgfDigest, ((PSource.PSpecified)spec.get… in engineInit()
DAlgorithmParametersSpi.java10 import javax.crypto.spec.PSource;
64 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource(); in engineGetEncoded()
131 …new PSource.PSpecified(ASN1OctetString.getInstance(oaepP.getPSourceAlgorithm().getParameters()).ge… in engineInit()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOAEPParameters.java28 import javax.crypto.spec.PSource;
76 PSource.PSpecified pSpecified = PSource.PSpecified.DEFAULT; in engineInit()
89 pSpecified = new PSource.PSpecified( in engineInit()
198 PSource.PSpecified pSource = (PSource.PSpecified) spec.getPSource(); in engineGetEncoded()
DOpenSSLCipherRSA.java49 import javax.crypto.spec.PSource;
466 final PSource pSrc; in engineGetParameters()
468 pSrc = PSource.PSpecified.DEFAULT; in engineGetParameters()
470 pSrc = new PSource.PSpecified(label); in engineGetParameters()
595 PSource pSource = spec.getPSource(); in readOAEPParameters()
597 || !(pSource instanceof PSource.PSpecified)) { in readOAEPParameters()
601 label = ((PSource.PSpecified) pSource).getValue(); in readOAEPParameters()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOAEPParameters.java27 import javax.crypto.spec.PSource;
72 PSource.PSpecified pSpecified = PSource.PSpecified.DEFAULT; in engineInit()
85 pSpecified = new PSource.PSpecified( in engineInit()
194 PSource.PSpecified pSource = (PSource.PSpecified) spec.getPSource(); in engineGetEncoded()
DOpenSSLCipherRSA.java48 import javax.crypto.spec.PSource;
450 final PSource pSrc; in engineGetParameters()
452 pSrc = PSource.PSpecified.DEFAULT; in engineGetParameters()
454 pSrc = new PSource.PSpecified(label); in engineGetParameters()
579 PSource pSource = spec.getPSource(); in readOAEPParameters()
581 || !(pSource instanceof PSource.PSpecified)) { in readOAEPParameters()
585 label = ((PSource.PSpecified) pSource).getValue(); in readOAEPParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java23 import javax.crypto.spec.PSource;
104 …cipher = new OAEPEncoding(new RSABlindedEngine(), digest, ((PSource.PSpecified)pSpec.getPSource())… in initFromSpec()
222 …initFromSpec(new OAEPParameterSpec("MD5", "MGF1", new MGF1ParameterSpec("MD5"), PSource.PSpecified… in engineSetPadding()
234 …w OAEPParameterSpec("SHA-224", "MGF1", new MGF1ParameterSpec("SHA-224"), PSource.PSpecified.DEFAUL… in engineSetPadding()
238 …initFromSpec(new OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified… in engineSetPadding()
242 …initFromSpec(new OAEPParameterSpec("SHA-384", "MGF1", MGF1ParameterSpec.SHA384, PSource.PSpecified… in engineSetPadding()
246 …initFromSpec(new OAEPParameterSpec("SHA-512", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified… in engineSetPadding()
341 …cipher = new OAEPEncoding(new RSABlindedEngine(), digest, mgfDigest, ((PSource.PSpecified)spec.get… in engineInit()
DAlgorithmParametersSpi.java11 import javax.crypto.spec.PSource;
71 PSource.PSpecified pSource = (PSource.PSpecified)currentSpec.getPSource(); in engineGetEncoded()
138 …new PSource.PSpecified(ASN1OctetString.getInstance(oaepP.getPSourceAlgorithm().getParameters()).ge… in engineInit()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java70 import javax.crypto.spec.PSource;
1388 if (expectedOaepSpec.getPSource() instanceof PSource.PSpecified in assertOAEPParametersEqual()
1389 && actualOaepSpec.getPSource() instanceof PSource.PSpecified) { in assertOAEPParametersEqual()
1392 ((PSource.PSpecified) expectedOaepSpec.getPSource()).getValue()), in assertOAEPParametersEqual()
1394 ((PSource.PSpecified) actualOaepSpec.getPSource()).getValue())); in assertOAEPParametersEqual()
3635 final PSource pSource; in addRsaOaepTest()
3637 pSource = PSource.PSpecified.DEFAULT; in addRsaOaepTest()
3639 pSource = new PSource.PSpecified(label); in addRsaOaepTest()
3768 PSource pSource = oaepSpec.getPSource(); in logTestFailure()
3772 logStream.append(Arrays.toString(((PSource.PSpecified) pSource).getValue())); in logTestFailure()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java71 import javax.crypto.spec.PSource;
1392 if (expectedOaepSpec.getPSource() instanceof PSource.PSpecified in assertOAEPParametersEqual()
1393 && actualOaepSpec.getPSource() instanceof PSource.PSpecified) { in assertOAEPParametersEqual()
1395 ((PSource.PSpecified) expectedOaepSpec.getPSource()).getValue()), in assertOAEPParametersEqual()
1396 Arrays.toString(((PSource.PSpecified) actualOaepSpec.getPSource()).getValue())); in assertOAEPParametersEqual()
3637 final PSource pSource; in addRsaOaepTest()
3639 pSource = PSource.PSpecified.DEFAULT; in addRsaOaepTest()
3641 pSource = new PSource.PSpecified(label); in addRsaOaepTest()
3770 PSource pSource = oaepSpec.getPSource(); in logTestFailure()
3774 logStream.append(Arrays.toString(((PSource.PSpecified) pSource).getValue())); in logTestFailure()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp959 Address PSource = createIdentFieldGEP(CGF, LocValue, IdentField_PSource); in emitUpdateLocation() local
977 CGF.Builder.CreateStore(OMPDebugLoc, PSource); in emitUpdateLocation()