File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
shared/quantum/codeql/quantum/experimental Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1437,6 +1437,15 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
1437
1437
1438
1438
class AssetNode = NodeBase ;
1439
1439
1440
+ /**
1441
+ * This predicate is used to filter out elliptic curve nodes in cases where
1442
+ * the algorithm instance and the curve instance are represented by the same
1443
+ * algorithm value consumer (e.g. in cases where both the algorithm and the
1444
+ * curve are determined by the same instance).
1445
+ *
1446
+ * An alternative way to handle this would be to use separate instances to
1447
+ * represent the elliptic curve and the algorithm.
1448
+ */
1440
1449
predicate isConsumedEllipticCurveNode ( EllipticCurveNode node ) {
1441
1450
exists ( AlgorithmNode other |
1442
1451
other .asElement ( ) instanceof EllipticCurveConsumingAlgorithmInstance and
You can’t perform that action at this time.
0 commit comments