mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Crypto: Update JCA PBKDF2 modeling: 1) add further inheritance structures to make the inheritance decomposition and caveats clearer, and 2) use getConsumer to establish the hash and hmac consumer. Update the Model to expect hash node types specifically for HMAC getHashALgorithmOrUnknown.
This commit is contained in:
@@ -1633,7 +1633,7 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
|
||||
|
||||
override string getInternalType() { result = "HMACAlgorithm" }
|
||||
|
||||
NodeBase getHashAlgorithmOrUnknown() {
|
||||
HashAlgorithmNode getHashAlgorithmOrUnknown() {
|
||||
result.asElement() = hmacInstance.getHashAlgorithmValueConsumer().getASource()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user