File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
cpp/ql/src/experimental/campaigns/nccoe-pqc-migration/QuantumVulnerableDiscovery/WinCng Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,22 @@ class NCryptEncryptArgumentSink extends BCryptOpenAlgorithmProviderSink {
95
95
}
96
96
}
97
97
98
+
99
+ /**
100
+ * Argument at index 1 of call to NCryptEncrypt:
101
+ * _Inout_ NCRYPT_KEY_HANDLE hKey,
102
+ */
103
+ class SslEncryptPacketArgumentSink extends BCryptOpenAlgorithmProviderSink {
104
+ int index ;
105
+ string funcName ;
106
+
107
+ SslEncryptPacketArgumentSink ( ) {
108
+ index = 1 and
109
+ funcName = "SslEncryptPacket" and
110
+ isCallArgument ( funcName , this .asExpr ( ) , index )
111
+ }
112
+ }
113
+
98
114
// ----------------- Default SOURCES -----------------------
99
115
/**
100
116
* A string identifier of known PQC vulnerable algorithms.
You can’t perform that action at this time.
0 commit comments