Home
last modified time | relevance | path

Searched refs:GCMParameters (Results 1 – 25 of 26) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DGCMParameters.java22 public class GCMParameters class
41 public static GCMParameters getInstance( in getInstance()
44 if (obj instanceof GCMParameters) in getInstance()
46 return (GCMParameters)obj; in getInstance()
50 return new GCMParameters(ASN1Sequence.getInstance(obj)); in getInstance()
56 private GCMParameters( in GCMParameters() method in GCMParameters
71 public GCMParameters( in GCMParameters() method in GCMParameters
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DGCMParameters.java24 public class GCMParameters class
43 public static GCMParameters getInstance( in getInstance()
46 if (obj instanceof GCMParameters) in getInstance()
48 return (GCMParameters)obj; in getInstance()
52 return new GCMParameters(ASN1Sequence.getInstance(obj)); in getInstance()
58 private GCMParameters( in GCMParameters() method in GCMParameters
73 public GCMParameters( in GCMParameters() method in GCMParameters
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DGCMParameters.java24 public class GCMParameters class
43 public static GCMParameters getInstance( in getInstance()
46 if (obj instanceof GCMParameters) in getInstance()
48 return (GCMParameters)obj; in getInstance()
52 return new GCMParameters(ASN1Sequence.getInstance(obj)); in getInstance()
58 private GCMParameters( in GCMParameters() method in GCMParameters
73 public GCMParameters( in GCMParameters() method in GCMParameters
/external/python/pyasn1-modules/pyasn1_modules/
Drfc5084.py58 class GCMParameters(univ.Sequence): class
62 GCMParameters.componentType = namedtype.NamedTypes(
90 id_aes128_GCM: GCMParameters(),
92 id_aes192_GCM: GCMParameters(),
94 id_aes256_GCM: GCMParameters(),
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java9 import org.bouncycastle.asn1.cms.GCMParameters;
37 GCMParameters gcmParams = GCMParameters.getInstance(spec); in extractGcmSpec()
52 static GCMParameters extractGcmParameters(AlgorithmParameterSpec paramSpec) in extractGcmParameters()
60 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
DAES.java23 import org.bouncycastle.asn1.cms.GCMParameters;
663 private GCMParameters gcmParams;
674 …gcmParams = new GCMParameters(((AEADParameterSpec)paramSpec).getNonce(), ((AEADParameterSpec)param… in engineInit()
685 gcmParams = GCMParameters.getInstance(params); in engineInit()
696 gcmParams = GCMParameters.getInstance(params); in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java13 import org.bouncycastle.asn1.cms.GCMParameters;
78 GCMParameters gcmParams = GCMParameters.getInstance(spec);
113 public static GCMParameters extractGcmParameters(final AlgorithmParameterSpec paramSpec)
118 return (GCMParameters)AccessController.doPrivileged(new PrivilegedExceptionAction()
123 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS…
DBaseBlockCipher.java31 import org.bouncycastle.asn1.cms.GCMParameters;
300 …engineParams.init(new GCMParameters(aeadParams.getNonce(), aeadParams.getMacSize() / 8).getEncoded… in engineGetParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java14 import com.android.org.bouncycastle.asn1.cms.GCMParameters;
82 GCMParameters gcmParams = GCMParameters.getInstance(spec);
117 public static GCMParameters extractGcmParameters(final AlgorithmParameterSpec paramSpec)
122 return (GCMParameters)AccessController.doPrivileged(new PrivilegedExceptionAction()
127 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS…
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java10 import com.android.org.bouncycastle.asn1.cms.GCMParameters;
38 GCMParameters gcmParams = GCMParameters.getInstance(spec); in extractGcmSpec()
53 static GCMParameters extractGcmParameters(AlgorithmParameterSpec paramSpec) in extractGcmParameters()
61 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
DAES.java24 import com.android.org.bouncycastle.asn1.cms.GCMParameters;
718 private GCMParameters gcmParams;
729 …gcmParams = new GCMParameters(((AEADParameterSpec)paramSpec).getNonce(), ((AEADParameterSpec)param… in engineInit()
740 gcmParams = GCMParameters.getInstance(params); in engineInit()
751 gcmParams = GCMParameters.getInstance(params); in engineInit()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java10 import com.android.internal.org.bouncycastle.asn1.cms.GCMParameters;
38 GCMParameters gcmParams = GCMParameters.getInstance(spec); in extractGcmSpec()
53 static GCMParameters extractGcmParameters(AlgorithmParameterSpec paramSpec) in extractGcmParameters()
61 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
DAES.java24 import com.android.internal.org.bouncycastle.asn1.cms.GCMParameters;
718 private GCMParameters gcmParams;
729 …gcmParams = new GCMParameters(((AEADParameterSpec)paramSpec).getNonce(), ((AEADParameterSpec)param… in engineInit()
740 gcmParams = GCMParameters.getInstance(params); in engineInit()
751 gcmParams = GCMParameters.getInstance(params); in engineInit()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DGcmSpecUtil.java14 import com.android.internal.org.bouncycastle.asn1.cms.GCMParameters;
82 GCMParameters gcmParams = GCMParameters.getInstance(spec);
117 public static GCMParameters extractGcmParameters(final AlgorithmParameterSpec paramSpec)
122 return (GCMParameters)AccessController.doPrivileged(new PrivilegedExceptionAction()
127 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS…
DBaseBlockCipher.java32 import com.android.internal.org.bouncycastle.asn1.cms.GCMParameters;
304 …engineParams.init(new GCMParameters(aeadParams.getNonce(), aeadParams.getMacSize() / 8).getEncoded… in engineGetParameters()
/external/conscrypt/common/src/main/java/org/conscrypt/
DGCMParameters.java33 public final class GCMParameters extends AlgorithmParametersSpi { class
44 public GCMParameters() { } in GCMParameters() method in GCMParameters
46 GCMParameters(int tLen, byte[] iv) { in GCMParameters() method in GCMParameters
68 GCMParameters params = Platform.fromGCMParameterSpec(algorithmParameterSpec); in engineInit()
DOpenSSLAeadCipher.java152 GCMParameters gcmParams = Platform.fromGCMParameterSpec(params); in engineInitInternal()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DGCMParameters.java35 public final class GCMParameters extends AlgorithmParametersSpi { class
46 public GCMParameters() { } in GCMParameters() method in GCMParameters
48 GCMParameters(int tLen, byte[] iv) { in GCMParameters() method in GCMParameters
70 GCMParameters params = Platform.fromGCMParameterSpec(algorithmParameterSpec); in engineInit()
DOpenSSLAeadCipher.java156 GCMParameters gcmParams = Platform.fromGCMParameterSpec(params); in engineInitInternal()
/external/python/pyasn1-modules/tests/
Dtest_rfc5084.py43 self.asn1Spec = rfc5084.GCMParameters()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java376 static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
379 return new GCMParameters(gcmParams.getTLen(), gcmParams.getIV()); in fromGCMParameterSpec()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java377 static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
380 return new GCMParameters(gcmParams.getTLen(), gcmParams.getIV()); in fromGCMParameterSpec()
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DPlatform.java499 static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
502 return new GCMParameters(gcmParams.getTLen(), gcmParams.getIV()); in fromGCMParameterSpec()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DPlatform.java498 static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
501 return new GCMParameters(gcmParams.getTLen(), gcmParams.getIV()); in fromGCMParameterSpec()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java698 public static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
716 return new GCMParameters(tLen, iv); in fromGCMParameterSpec()

12