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:
REDMOND\brodes
2025-10-02 11:45:13 -04:00
parent 850c1ec12d
commit 704a06e1fa
2 changed files with 28 additions and 12 deletions

View File

@@ -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()
}