Home
last modified time | relevance | path

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

/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DAlgorithmParametersTestOAEP.java25 import javax.crypto.spec.PSource;
26 import javax.crypto.spec.PSource.PSpecified;
137 …adding"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAUL… in AlgorithmParametersTestOAEP()
150 "SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT); in testEncoding()
165 new PSource.PSpecified(new byte[]{1, 2, 3, 4})); in testEncoding()
173 "SHA-1", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified.DEFAULT); in testEncoding()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DAlgorithmParametersTestOAEP.java27 import javax.crypto.spec.PSource;
28 import javax.crypto.spec.PSource.PSpecified;
141 …adding"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAUL… in AlgorithmParametersTestOAEP()
154 "SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT); in testEncoding()
169 new PSource.PSpecified(new byte[]{1, 2, 3, 4})); in testEncoding()
177 "SHA-1", "MGF1", MGF1ParameterSpec.SHA512, PSource.PSpecified.DEFAULT); in testEncoding()
/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;
74 PSource.PSpecified pSpecified = PSource.PSpecified.DEFAULT; in engineInit()
87 pSpecified = new PSource.PSpecified( in engineInit()
196 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/python/cryptography/docs/development/custom-vectors/rsa-oaep-sha2/
DVerifyRSAOAEPSHA2.java17 import javax.crypto.spec.PSource;
323 … oaep_spec = new OAEPParameterSpec("SHA1", "MGF1", mgf1_spec, PSource.PSpecified.DEFAULT); in getAlgorithmParameterSpec()
327 … oaep_spec = new OAEPParameterSpec("SHA-224", "MGF1", mgf1_spec, PSource.PSpecified.DEFAULT); in getAlgorithmParameterSpec()
331 … oaep_spec = new OAEPParameterSpec("SHA-256", "MGF1", mgf1_spec, PSource.PSpecified.DEFAULT); in getAlgorithmParameterSpec()
335 … oaep_spec = new OAEPParameterSpec("SHA-384", "MGF1", mgf1_spec, PSource.PSpecified.DEFAULT); in getAlgorithmParameterSpec()
339 … oaep_spec = new OAEPParameterSpec("SHA-512", "MGF1", mgf1_spec, PSource.PSpecified.DEFAULT); in getAlgorithmParameterSpec()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java75 import javax.crypto.spec.PSource;
1413 if (expectedOaepSpec.getPSource() instanceof PSource.PSpecified in assertOAEPParametersEqual()
1414 && actualOaepSpec.getPSource() instanceof PSource.PSpecified) { in assertOAEPParametersEqual()
1417 ((PSource.PSpecified) expectedOaepSpec.getPSource()).getValue()), in assertOAEPParametersEqual()
1419 ((PSource.PSpecified) actualOaepSpec.getPSource()).getValue())); in assertOAEPParametersEqual()
3660 final PSource pSource; in addRsaOaepTest()
3662 pSource = PSource.PSpecified.DEFAULT; in addRsaOaepTest()
3664 pSource = new PSource.PSpecified(label); in addRsaOaepTest()
3800 PSource pSource = oaepSpec.getPSource(); in logTestFailure()
3804 logStream.append(Arrays.toString(((PSource.PSpecified) pSource).getValue())); in logTestFailure()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java70 import javax.crypto.spec.PSource;
1409 if (expectedOaepSpec.getPSource() instanceof PSource.PSpecified in assertOAEPParametersEqual()
1410 && actualOaepSpec.getPSource() instanceof PSource.PSpecified) { in assertOAEPParametersEqual()
1413 ((PSource.PSpecified) expectedOaepSpec.getPSource()).getValue()), in assertOAEPParametersEqual()
1415 ((PSource.PSpecified) actualOaepSpec.getPSource()).getValue())); in assertOAEPParametersEqual()
3656 final PSource pSource; in addRsaOaepTest()
3658 pSource = PSource.PSpecified.DEFAULT; in addRsaOaepTest()
3660 pSource = new PSource.PSpecified(label); in addRsaOaepTest()
3795 PSource pSource = oaepSpec.getPSource(); in logTestFailure()
3799 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()