We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704a06e commit 9673b81Copy full SHA for 9673b81
java/ql/lib/experimental/quantum/JCA.qll
@@ -1244,10 +1244,7 @@ module JCAModel {
1244
1245
override Crypto::PaddingAlgorithmInstance getPaddingAlgorithm() { none() }
1246
1247
- override string getRawAlgorithmName() {
1248
- // Note: hardcoding "hmac" since that should be the only option
1249
- result = "Hmac"
1250
- }
+ override string getRawAlgorithmName() { result = this.(StringLiteral).getValue() }
1251
}
1252
1253
class Pbkdf2WithHmac_HashAlgorithmStringLiteral extends Crypto::HashAlgorithmInstance instanceof Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral
0 commit comments