File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
tls/src/main/java/org/bouncycastle/tls/crypto/impl/jcajce Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ package org .bouncycastle .tls .crypto .impl .jcajce ;
2+
3+ import org .bouncycastle .tls .crypto .impl .AEADNonceGeneratorFactory ;
4+
5+ class GCMFipsUtil
6+ {
7+ static AEADNonceGeneratorFactory getDefaultFipsGCMNonceGeneratorFactory ()
8+ {
9+ return null ;
10+ }
11+ }
Original file line number Diff line number Diff line change 66import java .security .PrivilegedExceptionAction ;
77import java .security .spec .AlgorithmParameterSpec ;
88
9- import org .bouncycastle .tls .crypto .impl .AEADNonceGeneratorFactory ;
109import org .bouncycastle .util .Integers ;
1110
1211class GCMUtil
@@ -31,11 +30,6 @@ public AlgorithmParameterSpec run()
3130 });
3231 }
3332
34- static AEADNonceGeneratorFactory getDefaultFipsGCMNonceGeneratorFactory ()
35- {
36- return null ;
37- }
38-
3933 static boolean isGCMParameterSpecAvailable ()
4034 {
4135 return gcmParameterSpec != null ;
Original file line number Diff line number Diff line change @@ -1311,7 +1311,7 @@ private TlsAEADCipher createCipher_SM4_GCM(TlsCryptoParameters cryptoParams)
13111311 */
13121312 public AEADNonceGeneratorFactory getFipsGCMNonceGeneratorFactory ()
13131313 {
1314- return GCMUtil .getDefaultFipsGCMNonceGeneratorFactory ();
1314+ return GCMFipsUtil .getDefaultFipsGCMNonceGeneratorFactory ();
13151315 }
13161316
13171317 String getDigestName (int cryptoHashAlgorithm )
You can’t perform that action at this time.
0 commit comments