Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java15 …static final Class gcmSpecClass = ClassUtil.loadClass(GcmSpecUtil.class, "javax.crypto.spec.GCMPar… field in GcmSpecUtil
19 return gcmSpecClass != null; in gcmSpecExists()
24 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()
29 return gcmSpecClass == paramSpecClass; in isGcmSpec()
38 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class}); in extractGcmSpec()
57 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters()
58 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in extractGcmParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java16 …static final Class gcmSpecClass = ClassUtil.loadClass(GcmSpecUtil.class, "javax.crypto.spec.GCMPar… field in GcmSpecUtil
20 return gcmSpecClass != null; in gcmSpecExists()
25 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()
30 return gcmSpecClass == paramSpecClass; in isGcmSpec()
39 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class}); in extractGcmSpec()
58 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters()
59 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in extractGcmParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java16 …static final Class gcmSpecClass = ClassUtil.loadClass(GcmSpecUtil.class, "javax.crypto.spec.GCMPar… field in GcmSpecUtil
20 return gcmSpecClass != null; in gcmSpecExists()
25 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()
30 return gcmSpecClass == paramSpecClass; in isGcmSpec()
39 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class}); in extractGcmSpec()
58 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters()
59 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in extractGcmParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java24 …static final Class gcmSpecClass = ClassUtil.loadClass(GcmSpecUtil.class, "javax.crypto.spec.GCMPar… field in GcmSpecUtil
31 if (gcmSpecClass != null)
52 return gcmSpecClass.getDeclaredMethod(name, new Class[0]); in extractMethod()
64 return gcmSpecClass != null;
69 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec);
74 return gcmSpecClass == paramSpecClass;
83 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class});
DBaseMac.java39 …private static final Class gcmSpecClass = ClassUtil.loadClass(BaseMac.class, "javax.crypto.spec.GC… field in BaseMac
218 else if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) in engineInit()
DBaseBlockCipher.java99 …private static final Class gcmSpecClass = ClassUtil.loadClass(BaseBlockCipher.class, "javax.crypto… field in BaseBlockCipher
109 gcmSpecClass,
927 else if (gcmSpecClass != null && gcmSpecClass.isInstance(params)) in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java20 …static final Class gcmSpecClass = ClassUtil.loadClass(GcmSpecUtil.class, "javax.crypto.spec.GCMPar… field in GcmSpecUtil
27 if (gcmSpecClass != null)
48 return gcmSpecClass.getDeclaredMethod(name, new Class[0]); in extractMethod()
60 return gcmSpecClass != null;
65 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec);
70 return gcmSpecClass == paramSpecClass;
79 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class});
DBaseMac.java35 …private static final Class gcmSpecClass = ClassUtil.loadClass(BaseMac.class, "javax.crypto.spec.GC… field in BaseMac
214 else if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) in engineInit()
DBaseBlockCipher.java95 …private static final Class gcmSpecClass = ClassUtil.loadClass(BaseBlockCipher.class, "javax.crypto… field in BaseBlockCipher
105 gcmSpecClass,
923 else if (gcmSpecClass != null && gcmSpecClass.isInstance(params)) in engineInit()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java24 …static final Class gcmSpecClass = ClassUtil.loadClass(GcmSpecUtil.class, "javax.crypto.spec.GCMPar… field in GcmSpecUtil
31 if (gcmSpecClass != null)
52 return gcmSpecClass.getDeclaredMethod(name, new Class[0]); in extractMethod()
64 return gcmSpecClass != null;
69 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec);
74 return gcmSpecClass == paramSpecClass;
83 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class});
DBaseMac.java39 …private static final Class gcmSpecClass = ClassUtil.loadClass(BaseMac.class, "javax.crypto.spec.GC… field in BaseMac
218 else if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) in engineInit()
DBaseBlockCipher.java99 …private static final Class gcmSpecClass = ClassUtil.loadClass(BaseBlockCipher.class, "javax.crypto… field in BaseBlockCipher
109 gcmSpecClass,
927 else if (gcmSpecClass != null && gcmSpecClass.isInstance(params)) in engineInit()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java701 Class<?> gcmSpecClass; in fromGCMParameterSpec() local
703 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in fromGCMParameterSpec()
705 gcmSpecClass = null; in fromGCMParameterSpec()
708 if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) { in fromGCMParameterSpec()
713 Method getTLenMethod = gcmSpecClass.getMethod("getTLen"); in fromGCMParameterSpec()
714 Method getIVMethod = gcmSpecClass.getMethod("getIV"); in fromGCMParameterSpec()
736 Class<?> gcmSpecClass; in fromGCMParameters() local
738 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in fromGCMParameters()
740 gcmSpecClass = null; in fromGCMParameters()
743 if (gcmSpecClass != null) { in fromGCMParameters()
[all …]