Home
last modified time | relevance | path

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

/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/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java9 import org.bouncycastle.asn1.cms.GCMParameters;
36 GCMParameters gcmParams = GCMParameters.getInstance(spec); in extractGcmSpec()
51 static GCMParameters extractGcmParameters(AlgorithmParameterSpec paramSpec) in extractGcmParameters()
59 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
DAES.java26 import org.bouncycastle.asn1.cms.GCMParameters;
659 private GCMParameters gcmParams;
670 …gcmParams = new GCMParameters(((AEADParameterSpec)paramSpec).getNonce(), ((AEADParameterSpec)param… in engineInit()
681 gcmParams = GCMParameters.getInstance(params); in engineInit()
692 gcmParams = GCMParameters.getInstance(params); in engineInit()
/external/conscrypt/common/src/main/java/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()
DOpenSSLCipher.java1041 GCMParameters gcmParams = Platform.fromGCMParameterSpec(params); in engineInitInternal()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java276 static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
279 return new GCMParameters(gcmParams.getTLen(), gcmParams.getIV()); in fromGCMParameterSpec()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DPlatform.java314 static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
317 return new GCMParameters(gcmParams.getTLen(), gcmParams.getIV()); in fromGCMParameterSpec()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java543 public static GCMParameters fromGCMParameterSpec(AlgorithmParameterSpec params) { in fromGCMParameterSpec()
561 return new GCMParameters(tLen, iv); in fromGCMParameterSpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java32 import org.bouncycastle.asn1.cms.GCMParameters;
265 …engineParams.init(new GCMParameters(aeadParams.getNonce(), aeadParams.getMacSize() / 8).getEncoded… in engineGetParameters()
/external/bouncycastle/patches/
Dbcprov.patch4329 import org.bouncycastle.asn1.cms.GCMParameters;
4702 - params.init(new GCMParameters(nonce, 12).getEncoded());
4816 + // params.init(new GCMParameters(nonce, 12).getEncoded());
6877 import org.bouncycastle.asn1.cms.GCMParameters;