File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
javascript/ql/lib/semmle/javascript/internal
python/ql/lib/semmle/python/internal
ruby/ql/lib/codeql/ruby/internal Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ module Cryptography {
43
43
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
44
44
DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
45
45
46
- /** Holds if this encryption operation is known to be weak. */
47
- predicate isWeak ( ) { super .isWeak ( ) }
46
+ /** DEPRECATED: Use `getAlgorithm().isWeak() or getBlockMode().isWeak()` instead */
47
+ deprecated predicate isWeak ( ) { super .isWeak ( ) }
48
48
49
49
/**
50
50
* Gets the block mode used to perform this cryptographic operation.
@@ -70,8 +70,8 @@ module Cryptography {
70
70
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
71
71
abstract DataFlow:: Node getAnInput ( ) ;
72
72
73
- /** Holds if this encryption operation is known to be weak. */
74
- abstract predicate isWeak ( ) ;
73
+ /** DEPRECATED: Use `getAlgorithm().isWeak() or getBlockMode().isWeak()` instead */
74
+ deprecated predicate isWeak ( ) { this . getAlgorithm ( ) . isWeak ( ) or this . getBlockMode ( ) . isWeak ( ) }
75
75
76
76
/**
77
77
* Gets the block mode used to perform this cryptographic operation.
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ module Cryptography {
43
43
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
44
44
DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
45
45
46
- /** Holds if this encryption operation is known to be weak. */
47
- predicate isWeak ( ) { super .isWeak ( ) }
46
+ /** DEPRECATED: Use `getAlgorithm().isWeak() or getBlockMode().isWeak()` instead */
47
+ deprecated predicate isWeak ( ) { super .isWeak ( ) }
48
48
49
49
/**
50
50
* Gets the block mode used to perform this cryptographic operation.
@@ -70,8 +70,8 @@ module Cryptography {
70
70
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
71
71
abstract DataFlow:: Node getAnInput ( ) ;
72
72
73
- /** Holds if this encryption operation is known to be weak. */
74
- abstract predicate isWeak ( ) ;
73
+ /** DEPRECATED: Use `getAlgorithm().isWeak() or getBlockMode().isWeak()` instead */
74
+ deprecated predicate isWeak ( ) { this . getAlgorithm ( ) . isWeak ( ) or this . getBlockMode ( ) . isWeak ( ) }
75
75
76
76
/**
77
77
* Gets the block mode used to perform this cryptographic operation.
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ module Cryptography {
43
43
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
44
44
DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
45
45
46
- /** Holds if this encryption operation is known to be weak. */
47
- predicate isWeak ( ) { super .isWeak ( ) }
46
+ /** DEPRECATED: Use `getAlgorithm().isWeak() or getBlockMode().isWeak()` instead */
47
+ deprecated predicate isWeak ( ) { super .isWeak ( ) }
48
48
49
49
/**
50
50
* Gets the block mode used to perform this cryptographic operation.
@@ -70,8 +70,8 @@ module Cryptography {
70
70
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
71
71
abstract DataFlow:: Node getAnInput ( ) ;
72
72
73
- /** Holds if this encryption operation is known to be weak. */
74
- abstract predicate isWeak ( ) ;
73
+ /** DEPRECATED: Use `getAlgorithm().isWeak() or getBlockMode().isWeak()` instead */
74
+ deprecated predicate isWeak ( ) { this . getAlgorithm ( ) . isWeak ( ) or this . getBlockMode ( ) . isWeak ( ) }
75
75
76
76
/**
77
77
* Gets the block mode used to perform this cryptographic operation.
You can’t perform that action at this time.
0 commit comments