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> {
14371437
14381438 class AssetNode = NodeBase ;
14391439
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+ */
14401449 predicate isConsumedEllipticCurveNode ( EllipticCurveNode node ) {
14411450 exists ( AlgorithmNode other |
14421451 other .asElement ( ) instanceof EllipticCurveConsumingAlgorithmInstance and
You can’t perform that action at this time.
0 commit comments