CodeQL library for C/C++
codeql/cpp-all 1.3.1-dev (changelog, source)
Search

Predicate isEncryptionAdditionalEvidence

Holds if there is additional evidence that name looks like it might be related to operations with an encryption algorithm, besides the name of a specific algorithm. This can be used in conjunction with isInsecureEncryption to produce a stronger heuristic.

Import path

import semmle.code.cpp.security.Encryption
predicate isEncryptionAdditionalEvidence(string name)