Skip to content

Commit b695641

Browse files
committed
Add signature to cipher operation
1 parent 63aaebb commit b695641

File tree

1 file changed

+5
-0
lines changed
  • shared/cryptography/codeql/cryptography

1 file changed

+5
-0
lines changed

shared/cryptography/codeql/cryptography/Model.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,7 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
792792
TDecryptionMode() or
793793
TWrapMode() or
794794
TUnwrapMode() or
795+
TSignatureMode() or
795796
TUnknownCipherOperationMode()
796797

797798
abstract class CipherOperationSubtype extends TCipherOperationSubtype {
@@ -814,6 +815,10 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
814815
override string toString() { result = "Unwrap" }
815816
}
816817

818+
class SignatureSubtype extends CipherOperationSubtype, TSignatureMode {
819+
override string toString() { result = "Sign" }
820+
}
821+
817822
class UnknownCipherOperationSubtype extends CipherOperationSubtype, TUnknownCipherOperationMode {
818823
override string toString() { result = "Unknown" }
819824
}

0 commit comments

Comments
 (0)