Home
last modified time | relevance | path

Searched refs:gcmSpecClass (Results 1 – 6 of 6) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java14 static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in GcmSpecUtil
18 return gcmSpecClass != null; in gcmSpecExists()
23 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()
28 return gcmSpecClass == paramSpecClass; in isGcmSpec()
37 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class}); in extractGcmSpec()
56 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters()
57 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in extractGcmParameters()
DAES.java71 private static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in AES
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java544 Class<?> gcmSpecClass; in fromGCMParameterSpec() local
546 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in fromGCMParameterSpec()
548 gcmSpecClass = null; in fromGCMParameterSpec()
551 if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) { in fromGCMParameterSpec()
556 Method getTLenMethod = gcmSpecClass.getMethod("getTLen"); in fromGCMParameterSpec()
557 Method getIVMethod = gcmSpecClass.getMethod("getIV"); in fromGCMParameterSpec()
579 Class<?> gcmSpecClass; in toGCMParameterSpec() local
581 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in toGCMParameterSpec()
583 gcmSpecClass = null; in toGCMParameterSpec()
586 if (gcmSpecClass != null) { in toGCMParameterSpec()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseMac.java38 private static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in BaseMac
216 else if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) in engineInit()
220 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in engineInit()
221 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in engineInit()
DBaseBlockCipher.java92 private static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in BaseBlockCipher
103 gcmSpecClass,
831 else if (gcmSpecClass != null && gcmSpecClass.isInstance(params)) in engineInit()
840 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in engineInit()
841 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in engineInit()
/external/bouncycastle/patches/
Dbcprov.patch4887 - if (gcmSpecClass != null)
4891 - Constructor constructor = gcmSpecClass.getConstructor(new Class[] { Integer.TY…
4962 + // if (gcmSpecClass != null)
4966 + // Constructor constructor = gcmSpecClass.getConstructor(new Class[] { Integer…
6942 gcmSpecClass
7257 else if (gcmSpecClass != null && gcmSpecClass.isInstance(params))
7261 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]);
7262 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]);