@@ -14,35 +14,9 @@ class KeySizeConfiguration extends DataFlow::Configuration {
14
14
15
15
override predicate isSource ( DataFlow:: Node source , DataFlow:: FlowState state ) {
16
16
source .( InsufficientKeySizeSource ) .hasState ( state )
17
- //source instanceof InsufficientKeySizeSource
18
17
}
19
18
20
19
override predicate isSink ( DataFlow:: Node sink , DataFlow:: FlowState state ) {
21
20
sink .( InsufficientKeySizeSink ) .hasState ( state )
22
- //sink instanceof InsufficientKeySizeSink
23
21
}
24
22
}
25
- // /**
26
- // * A data flow configuration for tracking non-elliptic curve asymmetric algorithm
27
- // * (RSA, DSA, and DH) key sizes.
28
- // */
29
- // class AsymmetricNonECKeyTrackingConfiguration extends DataFlow::Configuration {
30
- // AsymmetricNonECKeyTrackingConfiguration() { this = "AsymmetricNonECKeyTrackingConfiguration" }
31
- // override predicate isSource(DataFlow::Node source) { source instanceof AsymmetricNonECSource }
32
- // override predicate isSink(DataFlow::Node sink) { sink instanceof AsymmetricNonECSink }
33
- // }
34
- // /**
35
- // * A data flow configuration for tracking elliptic curve (EC) asymmetric
36
- // * algorithm key sizes.
37
- // */
38
- // class AsymmetricECKeyTrackingConfiguration extends DataFlow::Configuration {
39
- // AsymmetricECKeyTrackingConfiguration() { this = "AsymmetricECKeyTrackingConfiguration" }
40
- // override predicate isSource(DataFlow::Node source) { source instanceof AsymmetricECSource }
41
- // override predicate isSink(DataFlow::Node sink) { sink instanceof AsymmetricECSink }
42
- // }
43
- // /** A data flow configuration for tracking symmetric algorithm (AES) key sizes. */
44
- // class SymmetricKeyTrackingConfiguration extends DataFlow::Configuration {
45
- // SymmetricKeyTrackingConfiguration() { this = "SymmetricKeyTrackingConfiguration" }
46
- // override predicate isSource(DataFlow::Node source) { source instanceof SymmetricSource }
47
- // override predicate isSink(DataFlow::Node sink) { sink instanceof SymmetricSink }
48
- // }
0 commit comments