Skip to content

Commit 345b7e4

Browse files
committed
Comments.
1 parent 68d668e commit 345b7e4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cpp/ql/src/experimental/campaigns/nccoe-pqc-migration/QuantumVulnerableDiscovery/WinCng/WindowsCngPQCVulnerableUsage.qll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ predicate stepOpenAlgorithmProvider(DataFlow::Node node1, DataFlow::Node node2)
1919
/**
2020
* Steps from input variable (argument 0) to output variable (argument 1)
2121
* for CNG APIs BCryptImportKeyPair and BCryptGenerateKeyPair.
22-
* Argument 0 represents a BCRYPT_ALG_HANDLE.
23-
* Argument 1 represents a BCRYPT_KEY_HANDLE.
22+
* BCryptGenerateKeyPair:
23+
* Argument 0 represents a BCRYPT_ALG_HANDLE.
24+
* Argument 1 represents a BCRYPT_KEY_HANDLE.
25+
* BCryptImportKeyPair:
26+
* Argument 0 represents a BCRYPT_ALG_HANDLE.
27+
* Argument 3 represents a BCRYPT_KEY_HANDLE.
2428
*/
2529
predicate stepImportGenerateKeyPair(DataFlow::Node node1, DataFlow::Node node2) {
2630
exists(FunctionCall call |

0 commit comments

Comments
 (0)