File tree Expand file tree Collapse file tree 4 files changed +18
-19
lines changed
javascript/ql/lib/semmle/javascript
python/ql/lib/semmle/python/internal
ruby/ql/lib/codeql/ruby/internal Expand file tree Collapse file tree 4 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -115,5 +115,22 @@ abstract class PersistentWriteAccess extends DataFlow::Node {
115
115
* Provides models for cryptographic things.
116
116
*/
117
117
module Cryptography {
118
- import semmle.javascript.internal.ConceptsShared:: Cryptography
118
+ private import semmle.javascript.internal.ConceptsShared:: Cryptography as SC
119
+
120
+ class CryptographicOperation extends SC:: CryptographicOperation instanceof CryptographicOperation:: Range {
121
+ /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
122
+ deprecated final DataFlow:: Node getInput ( ) { result = this .getAnInput ( ) }
123
+ }
124
+
125
+ class EncryptionAlgorithm = SC:: EncryptionAlgorithm ;
126
+
127
+ class HashingAlgorithm = SC:: HashingAlgorithm ;
128
+
129
+ class PasswordHashingAlgorithm = SC:: PasswordHashingAlgorithm ;
130
+
131
+ module CryptographicOperation = SC:: CryptographicOperation;
132
+
133
+ class BlockMode = SC:: BlockMode ;
134
+
135
+ class CryptographicAlgorithm = SC:: CryptographicAlgorithm ;
119
136
}
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ module Cryptography {
43
43
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
44
44
DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
45
45
46
- /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
47
- deprecated final DataFlow:: Node getInput ( ) { result = super .getInput ( ) }
48
-
49
46
/**
50
47
* Gets the block mode used to perform this cryptographic operation.
51
48
* This may have no result - for example if the `CryptographicAlgorithm` used
@@ -70,9 +67,6 @@ module Cryptography {
70
67
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
71
68
abstract DataFlow:: Node getAnInput ( ) ;
72
69
73
- /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
74
- deprecated final DataFlow:: Node getInput ( ) { result = this .getAnInput ( ) }
75
-
76
70
/**
77
71
* Gets the block mode used to perform this cryptographic operation.
78
72
* This may have no result - for example if the `CryptographicAlgorithm` used
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ module Cryptography {
43
43
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
44
44
DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
45
45
46
- /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
47
- deprecated final DataFlow:: Node getInput ( ) { result = super .getInput ( ) }
48
-
49
46
/**
50
47
* Gets the block mode used to perform this cryptographic operation.
51
48
* This may have no result - for example if the `CryptographicAlgorithm` used
@@ -70,9 +67,6 @@ module Cryptography {
70
67
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
71
68
abstract DataFlow:: Node getAnInput ( ) ;
72
69
73
- /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
74
- deprecated final DataFlow:: Node getInput ( ) { result = this .getAnInput ( ) }
75
-
76
70
/**
77
71
* Gets the block mode used to perform this cryptographic operation.
78
72
* This may have no result - for example if the `CryptographicAlgorithm` used
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ module Cryptography {
43
43
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
44
44
DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
45
45
46
- /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
47
- deprecated final DataFlow:: Node getInput ( ) { result = super .getInput ( ) }
48
-
49
46
/**
50
47
* Gets the block mode used to perform this cryptographic operation.
51
48
* This may have no result - for example if the `CryptographicAlgorithm` used
@@ -70,9 +67,6 @@ module Cryptography {
70
67
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
71
68
abstract DataFlow:: Node getAnInput ( ) ;
72
69
73
- /** DEPRECATED. This predicate has been renamed to `getAnInput`. */
74
- deprecated final DataFlow:: Node getInput ( ) { result = this .getAnInput ( ) }
75
-
76
70
/**
77
71
* Gets the block mode used to perform this cryptographic operation.
78
72
* This may have no result - for example if the `CryptographicAlgorithm` used
You can’t perform that action at this time.
0 commit comments