Skip to content

Commit e9c3e14

Browse files
committed
Merge branch 'brodes/cipher_operation' of https://github.com/nicolaswill/codeql into brodes/cipher_operation
2 parents fb7c003 + 9278a41 commit e9c3e14

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
@@ -1104,6 +1104,7 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
11041104
TDecryptionMode() or
11051105
TWrapMode() or
11061106
TUnwrapMode() or
1107+
TSignatureMode() or
11071108
TUnknownCipherOperationMode()
11081109

11091110
abstract class CipherOperationSubtype extends TCipherOperationSubtype {
@@ -1126,6 +1127,10 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
11261127
override string toString() { result = "Unwrap" }
11271128
}
11281129

1130+
class SignatureSubtype extends CipherOperationSubtype, TSignatureMode {
1131+
override string toString() { result = "Sign" }
1132+
}
1133+
11291134
class UnknownCipherOperationSubtype extends CipherOperationSubtype, TUnknownCipherOperationMode {
11301135
override string toString() { result = "Unknown" }
11311136
}

0 commit comments

Comments
 (0)