File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
java/ql/src/experimental/quantum Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import experimental.quantum.Language
77class AESGCMAlgorithmNode extends Crypto:: KeyOperationAlgorithmNode {
88 AESGCMAlgorithmNode ( ) {
99 this .getAlgorithmType ( ) = Crypto:: KeyOpAlg:: TSymmetricCipher ( Crypto:: KeyOpAlg:: AES ( ) ) and
10- this .getModeOfOperation ( ) .getModeType ( ) = Crypto:: GCM ( )
10+ this .getModeOfOperation ( ) .getModeType ( ) = Crypto:: KeyOpAlg :: GCM ( )
1111 }
1212}
1313
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ import java
1111import experimental.quantum.Language
1212
1313from Crypto:: KeyOperationAlgorithmNode a
14- where a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: AsymmetricCipherAlgorithm
14+ where a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: AsymmetricCipherAlgorithmType
1515select a , a .getAlgorithmName ( )
Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ import experimental.quantum.Language
1313// TODO: should there be a cipher algorithm node?
1414from Crypto:: KeyOperationAlgorithmNode a
1515where
16- a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: AsymmetricCipherAlgorithm or
17- a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: SymmetricCipherAlgorithm
16+ a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: AsymmetricCipherAlgorithmType or
17+ a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: SymmetricCipherAlgorithmType
1818select a , a .getAlgorithmName ( )
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ import java
1111import experimental.quantum.Language
1212
1313from Crypto:: KeyOperationAlgorithmNode a
14- where a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: SymmetricCipherAlgorithm
14+ where a .getAlgorithmType ( ) instanceof Crypto:: KeyOpAlg:: SymmetricCipherAlgorithmType
1515select a , a .getAlgorithmName ( )
You can’t perform that action at this time.
0 commit comments