File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
shared/quantum/codeql/quantum/experimental Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -690,23 +690,6 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
690
690
predicate shouldHavePaddingScheme ( ) { any ( ) }
691
691
}
692
692
693
- // abstract class SignatureOrMacAlgorithmInstance extends KeyOperationAlgorithmInstance {
694
- // SignatureOrMacAlgorithmInstance() {
695
- // this.getAlgorithmType() = KeyOpAlg::TSignature(_)
696
- // or
697
- // this.getAlgorithmType() = KeyOpAlg::TMac(_)
698
- // }
699
- // override predicate shouldHaveModeOfOperation() { none() }
700
- // /**
701
- // * Gets the hash algorithm used by this signature algorithm.
702
- // */
703
- // abstract AlgorithmValueConsumer getHashAlgorithmValueConsumer();
704
- // }
705
- // abstract class SignatureAlgorithmInstance extends SignatureOrMacAlgorithmInstance {
706
- // SignatureAlgorithmInstance() { this.getAlgorithmType() = KeyOpAlg::TSignature(_) }
707
- // }
708
- abstract class MacOperationInstance extends KeyOperationAlgorithmInstance { }
709
-
710
693
abstract class HmacAlgorithmInstance extends KeyOperationAlgorithmInstance {
711
694
HmacAlgorithmInstance ( ) { this .getAlgorithmType ( ) = KeyOpAlg:: TMac ( KeyOpAlg:: HMAC ( ) ) }
712
695
@@ -832,6 +815,8 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
832
815
abstract ConsumerInputDataFlowNode getSignatureConsumer ( ) ;
833
816
}
834
817
818
+ abstract class MacOperationInstance extends SignatureOrMacOperationInstance { }
819
+
835
820
abstract class EllipticCurveInstance extends AlgorithmInstance {
836
821
/**
837
822
* Gets the isolated name as it appears in source
You can’t perform that action at this time.
0 commit comments