Skip to content

Commit f16d776

Browse files
committed
Remove unused isStrongBlockMode predicate from CryptoAlgorithms.qll
1 parent df0da98 commit f16d776

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

javascript/ql/lib/semmle/javascript/security/CryptoAlgorithms.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ module AlgorithmNames {
7272
*/
7373
predicate isWeakPasswordHashingAlgorithm(string name) { name = "EVPKDF" }
7474

75-
/**
76-
* Holds if `name` corresponds to a strong block cipher mode of operation.
77-
*/
78-
predicate isStrongBlockMode(string name) { name = ["CBC", "CCM", "CFB", "CTR", "GCM", "OFB"] }
79-
8075
/**
8176
* Holds if `name` corresponds to a weak block cipher mode of operation.
8277
*/

python/ql/lib/semmle/python/concepts/CryptoAlgorithms.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ module AlgorithmNames {
7272
*/
7373
predicate isWeakPasswordHashingAlgorithm(string name) { name = "EVPKDF" }
7474

75-
/**
76-
* Holds if `name` corresponds to a strong block cipher mode of operation.
77-
*/
78-
predicate isStrongBlockMode(string name) { name = ["CBC", "CCM", "CFB", "CTR", "GCM", "OFB"] }
79-
8075
/**
8176
* Holds if `name` corresponds to a weak block cipher mode of operation.
8277
*/

ruby/ql/lib/codeql/ruby/security/CryptoAlgorithms.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ module AlgorithmNames {
7272
*/
7373
predicate isWeakPasswordHashingAlgorithm(string name) { name = "EVPKDF" }
7474

75-
/**
76-
* Holds if `name` corresponds to a strong block cipher mode of operation.
77-
*/
78-
predicate isStrongBlockMode(string name) { name = ["CBC", "CCM", "CFB", "CTR", "GCM", "OFB"] }
79-
8075
/**
8176
* Holds if `name` corresponds to a weak block cipher mode of operation.
8277
*/

0 commit comments

Comments
 (0)