Crypto: Alterations to OpenSSL cipher algorithms to use new fixed keysize predicate.

This commit is contained in:
REDMOND\brodes
2025-05-20 09:19:50 -04:00
parent 1baf6d67fc
commit b56472436e
3 changed files with 11 additions and 17 deletions

View File

@@ -104,11 +104,8 @@ class KnownOpenSSLCipherConstantAlgorithmInstance extends OpenSSLAlgorithmInstan
override string getRawAlgorithmName() { result = this.(Literal).getValue().toString() }
override string getKeySizeFixed() {
exists(int keySize |
this.(KnownOpenSSLCipherAlgorithmConstant).getExplicitKeySize() = keySize and
result = keySize.toString()
)
override int getKeySizeFixed() {
this.(KnownOpenSSLCipherAlgorithmConstant).getExplicitKeySize() = result
}
override Crypto::KeyOpAlg::Algorithm getAlgorithmType() {