mirror of
https://github.com/github/codeql.git
synced 2026-04-20 14:34:04 +02:00
Hash nodes have instances.
This commit is contained in:
@@ -1078,6 +1078,8 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
|
||||
* A hashing algorithm that transforms variable-length input into a fixed-size hash value.
|
||||
*/
|
||||
abstract class HashAlgorithmNode extends AlgorithmNode, THashAlgorithm {
|
||||
HashAlgorithmInstance instance;
|
||||
HashAlgorithmNode() { this = THashAlgorithm(instance) }
|
||||
override string getInternalType() { result = "HashAlgorithm" }
|
||||
|
||||
final predicate hashTypeToNameMapping(THashType type, string name) {
|
||||
|
||||
Reference in New Issue
Block a user