/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | AlgorithmParametersSpi.java | 33 Class paramSpec) in engineGetParameterSpec() argument 36 if (paramSpec == null) in engineGetParameterSpec() 41 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 44 protected abstract AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) in localEngineGetParameterSpec() argument 91 Class paramSpec) in localEngineGetParameterSpec() argument 94 if (paramSpec == OAEPParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 103 AlgorithmParameterSpec paramSpec) in engineInit() argument 106 if (!(paramSpec instanceof OAEPParameterSpec)) in engineInit() 111 this.currentSpec = (OAEPParameterSpec)paramSpec; in engineInit() 203 Class paramSpec) in localEngineGetParameterSpec() argument [all …]
|
D | CipherSpi.java | 52 private AlgorithmParameterSpec paramSpec; field in CipherSpi 100 paramSpec = pSpec; in initFromSpec() 151 if (paramSpec != null) in engineGetParameters() 156 engineParams.init(paramSpec); in engineGetParameters() 309 paramSpec = params; in engineInit() 380 AlgorithmParameterSpec paramSpec = null; in engineInit() local 386 paramSpec = params.getParameterSpec(OAEPParameterSpec.class); in engineInit() 395 engineInit(opmode, key, paramSpec, random); in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | AlgorithmParametersSpi.java | 23 Class paramSpec) in engineGetParameterSpec() argument 26 if (paramSpec == null) in engineGetParameterSpec() 31 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 73 Class paramSpec) in localEngineGetParameterSpec() argument 76 if (paramSpec == DHParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 85 AlgorithmParameterSpec paramSpec) in engineInit() argument 88 if (!(paramSpec instanceof DHParameterSpec)) in engineInit() 93 this.currentSpec = (DHParameterSpec)paramSpec; in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | AlgorithmParametersSpi.java | 23 Class paramSpec) in engineGetParameterSpec() argument 26 if (paramSpec == null) in engineGetParameterSpec() 31 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 69 Class paramSpec) in localEngineGetParameterSpec() argument 72 if (paramSpec == DSAParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 81 AlgorithmParameterSpec paramSpec) in engineInit() argument 84 if (!(paramSpec instanceof DSAParameterSpec)) in engineInit() 89 this.currentSpec = (DSAParameterSpec)paramSpec; in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | IvAlgorithmParameters.java | 43 Class paramSpec) in localEngineGetParameterSpec() argument 46 if (paramSpec == IvParameterSpec.class || paramSpec == AlgorithmParameterSpec.class) in localEngineGetParameterSpec() 55 AlgorithmParameterSpec paramSpec) in engineInit() argument 58 if (!(paramSpec instanceof IvParameterSpec)) in engineInit() 63 this.iv = ((IvParameterSpec)paramSpec).getIV(); in engineInit()
|
D | BaseAlgorithmParameters.java | 16 Class paramSpec) in engineGetParameterSpec() argument 19 if (paramSpec == null) in engineGetParameterSpec() 24 return localEngineGetParameterSpec(paramSpec); in engineGetParameterSpec() 27 protected abstract AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) in localEngineGetParameterSpec() argument
|
D | BaseWrapCipher.java | 213 AlgorithmParameterSpec paramSpec = null; in engineInit() local 221 paramSpec = params.getParameterSpec(availableSpecs[i]); in engineInit() 230 if (paramSpec == null) in engineInit() 237 engineInit(opmode, key, paramSpec, random); in engineInit()
|
D | BaseStreamCipher.java | 282 AlgorithmParameterSpec paramSpec = null; in engineInit() local 290 paramSpec = params.getParameterSpec(availableSpecs[i]); in engineInit() 299 if (paramSpec == null) in engineInit() 305 engineInit(opmode, key, paramSpec, random); in engineInit()
|
D | BaseBlockCipher.java | 1035 AlgorithmParameterSpec paramSpec = null; in engineInit() local 1048 paramSpec = params.getParameterSpec(availableSpecs[i]); in engineInit() 1057 if (paramSpec == null) in engineInit() 1063 engineInit(opmode, key, paramSpec, random); in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | GcmSpecUtil.java | 21 static boolean isGcmSpec(AlgorithmParameterSpec paramSpec) in isGcmSpec() argument 23 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec() 51 static GCMParameters extractGcmParameters(AlgorithmParameterSpec paramSpec) in extractGcmParameters() argument 59 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
|
D | AES.java | 665 protected void engineInit(AlgorithmParameterSpec paramSpec) in engineInit() argument 668 if (GcmSpecUtil.isGcmSpec(paramSpec)) in engineInit() 670 gcmParams = GcmSpecUtil.extractGcmParameters(paramSpec); in engineInit() 672 else if (paramSpec instanceof AEADParameterSpec) in engineInit() 674 …gcmParams = new GCMParameters(((AEADParameterSpec)paramSpec).getNonce(), ((AEADParameterSpec)param… in engineInit() 678 …arameterSpecException("AlgorithmParameterSpec class not recognized: " + paramSpec.getClass().getNa… in engineInit() 721 protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) in localEngineGetParameterSpec() argument 724 if (paramSpec == AlgorithmParameterSpec.class || GcmSpecUtil.isGcmSpec(paramSpec)) in localEngineGetParameterSpec() 732 if (paramSpec == AEADParameterSpec.class) in localEngineGetParameterSpec() 736 if (paramSpec == IvParameterSpec.class) in localEngineGetParameterSpec() [all …]
|
D | PBEPKCS12.java | 52 Class paramSpec) in localEngineGetParameterSpec() argument 55 if (paramSpec == PBEParameterSpec.class) in localEngineGetParameterSpec() 65 AlgorithmParameterSpec paramSpec) in engineInit() argument 68 if (!(paramSpec instanceof PBEParameterSpec)) in engineInit() 73 PBEParameterSpec pbeSpec = (PBEParameterSpec)paramSpec; in engineInit()
|
D | PBES2AlgorithmParameters.java | 112 AlgorithmParameterSpec paramSpec) in engineInit() argument 115 if (!(paramSpec instanceof PBEParameterSpec)) in engineInit() 121 PBEParameterSpec pbeSpec = (PBEParameterSpec)paramSpec; in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | AlgorithmParametersSpi.java | 102 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> paramSpec) in engineGetParameterSpec() argument 105 …if (ECParameterSpec.class.isAssignableFrom(paramSpec) || paramSpec == AlgorithmParameterSpec.class) in engineGetParameterSpec() 109 else if (ECGenParameterSpec.class.isAssignableFrom(paramSpec)) in engineGetParameterSpec() 131 …w InvalidParameterSpecException("EC AlgorithmParameters cannot convert to " + paramSpec.getName()); in engineGetParameterSpec()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 4734 PBEParameterSpec paramSpec = new PBEParameterSpec("salt".getBytes(), 100); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV() local 4735 cipher.init(Cipher.ENCRYPT_MODE, secretKey, paramSpec); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV() 4739 cipher.init(Cipher.DECRYPT_MODE, secretKey, paramSpec); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV()
|