mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update java/ql/lib/experimental/quantum/JCA.qll
Co-authored-by: Nicolas Will <nicolaswill@github.com>
This commit is contained in:
@@ -108,7 +108,7 @@ module JCAModel {
|
||||
*/
|
||||
bindingset[name]
|
||||
predicate signature_names(string name) {
|
||||
name.toUpperCase().splitAt("with".toUpperCase(), 1).matches(["RSA%", "ECDSA%", "DSA%"])
|
||||
name.toUpperCase().splitAt("WITH", 1).matches(["RSA%", "ECDSA%", "DSA%"])
|
||||
or
|
||||
name.toUpperCase().matches(["RSASSA-PSS", "ED25519", "ED448", "EDDSA", "ML-DSA%", "HSS/LMS"])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user