add ECC dataflow config; passes all test cases; still don't have algo name tracking

This commit is contained in:
Jami Cogswell
2022-10-06 01:32:10 -04:00
parent 5e2ef66014
commit c414ee0e25
4 changed files with 74 additions and 296 deletions

View File

@@ -30,5 +30,6 @@ from DataFlow::PathNode source, DataFlow::PathNode sink
where
//hasInsufficientKeySize2(source, sink)
exists(AsymmetricKeyTrackingConfiguration config1 | config1.hasFlowPath(source, sink)) or
exists(SymmetricKeyTrackingConfiguration2 config2 | config2.hasFlowPath(source, sink))
exists(AsymmetricECCKeyTrackingConfiguration config2 | config2.hasFlowPath(source, sink)) or
exists(SymmetricKeyTrackingConfiguration config3 | config3.hasFlowPath(source, sink))
select sink.getNode(), source, sink, "This $@ is too small.", sink.getNode(), "key size"