@@ -109,9 +109,9 @@ private module Crypto {
109109 }
110110
111111 private module Rc4 {
112- private class CipherXORKeyStream extends CryptographicOperation:: Range instanceof DataFlow:: CallNode
112+ private class CipherXorKeyStream extends CryptographicOperation:: Range instanceof DataFlow:: CallNode
113113 {
114- CipherXORKeyStream ( ) {
114+ CipherXorKeyStream ( ) {
115115 this .( DataFlow:: MethodCallNode )
116116 .getTarget ( )
117117 .hasQualifiedName ( "crypto/rc4" , "Cipher" , "XORKeyStream" )
@@ -312,26 +312,26 @@ private module Crypto {
312312 }
313313
314314 private module Cipher {
315- private class NewCBCEncrypter extends StdLibNewEncrypter {
316- NewCBCEncrypter ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewCBCEncrypter" ) }
315+ private class NewCbcEncrypter extends StdLibNewEncrypter {
316+ NewCbcEncrypter ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewCBCEncrypter" ) }
317317
318318 override BlockMode getMode ( ) { result = "CBC" }
319319 }
320320
321- private class NewCFBEncrypter extends StdLibNewEncrypter {
322- NewCFBEncrypter ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewCFBEncrypter" ) }
321+ private class NewCfbEncrypter extends StdLibNewEncrypter {
322+ NewCfbEncrypter ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewCFBEncrypter" ) }
323323
324324 override BlockMode getMode ( ) { result = "CFB" }
325325 }
326326
327- private class NewCTR extends StdLibNewEncrypter {
328- NewCTR ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewCTR" ) }
327+ private class NewCtr extends StdLibNewEncrypter {
328+ NewCtr ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewCTR" ) }
329329
330330 override BlockMode getMode ( ) { result = "CTR" }
331331 }
332332
333- private class NewGCM extends StdLibNewEncrypter {
334- NewGCM ( ) {
333+ private class NewGcm extends StdLibNewEncrypter {
334+ NewGcm ( ) {
335335 exists ( string name | this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , name ) |
336336 name = [ "NewGCM" , "NewGCMWithNonceSize" , "NewGCMWithRandomNonce" , "NewGCMWithTagSize" ]
337337 )
@@ -340,8 +340,8 @@ private module Crypto {
340340 override BlockMode getMode ( ) { result = "GCM" }
341341 }
342342
343- private class NewOFB extends StdLibNewEncrypter {
344- NewOFB ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewOFB" ) }
343+ private class NewOfb extends StdLibNewEncrypter {
344+ NewOfb ( ) { this .getTarget ( ) .hasQualifiedName ( "crypto/cipher" , "NewOFB" ) }
345345
346346 override BlockMode getMode ( ) { result = "OFB" }
347347 }
@@ -373,8 +373,8 @@ private module Crypto {
373373 }
374374 }
375375
376- private class StreamXORKeyStream extends EncryptionMethodCall {
377- StreamXORKeyStream ( ) {
376+ private class StreamXorKeyStream extends EncryptionMethodCall {
377+ StreamXorKeyStream ( ) {
378378 this .( DataFlow:: MethodCallNode )
379379 .getTarget ( )
380380 .hasQualifiedName ( "crypto/cipher" , "Stream" , "XORKeyStream" ) and
0 commit comments