From 66736ebd9dde30ded4c812e4ccec60c80467b3a3 Mon Sep 17 00:00:00 2001 From: Alex Ford Date: Fri, 13 May 2022 21:26:01 +0100 Subject: [PATCH] sync CryptoAlgorithmNames.qll (remove isWeakBlockMode predicate) --- .../javascript/security/internal/CryptoAlgorithmNames.qll | 5 ----- .../semmle/python/concepts/internal/CryptoAlgorithmNames.qll | 5 ----- 2 files changed, 10 deletions(-) diff --git a/javascript/ql/lib/semmle/javascript/security/internal/CryptoAlgorithmNames.qll b/javascript/ql/lib/semmle/javascript/security/internal/CryptoAlgorithmNames.qll index 09e484f2905..6fb12339e55 100644 --- a/javascript/ql/lib/semmle/javascript/security/internal/CryptoAlgorithmNames.qll +++ b/javascript/ql/lib/semmle/javascript/security/internal/CryptoAlgorithmNames.qll @@ -65,8 +65,3 @@ predicate isStrongPasswordHashingAlgorithm(string name) { * Holds if `name` corresponds to a weak password hashing algorithm. */ predicate isWeakPasswordHashingAlgorithm(string name) { name = "EVPKDF" } - -/** - * Holds if `name` corresponds to a weak block cipher mode of operation. - */ -predicate isWeakBlockMode(string name) { name = "ECB" } diff --git a/python/ql/lib/semmle/python/concepts/internal/CryptoAlgorithmNames.qll b/python/ql/lib/semmle/python/concepts/internal/CryptoAlgorithmNames.qll index 09e484f2905..6fb12339e55 100644 --- a/python/ql/lib/semmle/python/concepts/internal/CryptoAlgorithmNames.qll +++ b/python/ql/lib/semmle/python/concepts/internal/CryptoAlgorithmNames.qll @@ -65,8 +65,3 @@ predicate isStrongPasswordHashingAlgorithm(string name) { * Holds if `name` corresponds to a weak password hashing algorithm. */ predicate isWeakPasswordHashingAlgorithm(string name) { name = "EVPKDF" } - -/** - * Holds if `name` corresponds to a weak block cipher mode of operation. - */ -predicate isWeakBlockMode(string name) { name = "ECB" }