@@ -3,7 +3,7 @@ private import experimental.quantum.OpenSSL.CtxFlow as CTXFlow
3
3
private import experimental.quantum.OpenSSL.AlgorithmValueConsumers.OpenSSLAlgorithmValueConsumers
4
4
5
5
/**
6
- * All OpenSSL operations.
6
+ * A class for all OpenSSL operations.
7
7
*/
8
8
abstract class OpenSSLOperation extends Crypto:: OperationInstance instanceof Call {
9
9
/**
@@ -28,12 +28,12 @@ abstract class OpenSSLOperation extends Crypto::OperationInstance instanceof Cal
28
28
*/
29
29
abstract class EVPInitialize extends Call {
30
30
/**
31
- * The context argument that ties together initialization, updates and/or final calls.
31
+ * Gets the context argument that ties together initialization, updates and/or final calls.
32
32
*/
33
33
Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
34
34
35
35
/**
36
- * The type of key operation, none if not applicable.
36
+ * Gets the type of key operation, none if not applicable.
37
37
*/
38
38
Crypto:: KeyOperationSubtype getKeyOperationSubtype ( ) { none ( ) }
39
39
@@ -44,12 +44,12 @@ abstract class EVPInitialize extends Call {
44
44
Expr getAlgorithmArg ( ) { none ( ) }
45
45
46
46
/**
47
- * The key for the operation, none if not applicable.
47
+ * Gets the key for the operation, none if not applicable.
48
48
*/
49
49
Expr getKeyArg ( ) { none ( ) }
50
50
51
51
/**
52
- * The IV/nonce, none if not applicable.
52
+ * Gets the IV/nonce, none if not applicable.
53
53
*/
54
54
Expr getIVArg ( ) { none ( ) }
55
55
}
@@ -61,7 +61,7 @@ abstract class EVPInitialize extends Call {
61
61
*/
62
62
abstract class EVPUpdate extends Call {
63
63
/**
64
- * The context argument that ties together initialization, updates and/or final calls.
64
+ * Gets the context argument that ties together initialization, updates and/or final calls.
65
65
*/
66
66
Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
67
67
@@ -98,7 +98,7 @@ private module AlgGetterToAlgConsumerFlow = DataFlow::Global<AlgGetterToAlgConsu
98
98
*/
99
99
abstract class EVPOperation extends OpenSSLOperation {
100
100
/**
101
- * The context argument that ties together initialization, updates and/or final calls.
101
+ * Gets the context argument that ties together initialization, updates and/or final calls.
102
102
*/
103
103
Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
104
104
@@ -138,7 +138,7 @@ abstract class EVPOperation extends OpenSSLOperation {
138
138
}
139
139
140
140
/**
141
- * Final calls of EVP API.
141
+ * The final calls of the EVP API.
142
142
*/
143
143
abstract class EVPFinal extends EVPOperation {
144
144
/**
@@ -149,13 +149,13 @@ abstract class EVPFinal extends EVPOperation {
149
149
}
150
150
151
151
/**
152
- * The input data was provided to all update calls.
152
+ * Gets the input data provided to all update calls.
153
153
* If more input data was provided in the final call, override the method.
154
154
*/
155
155
override Expr getInputArg ( ) { result = this .getUpdateCalls ( ) .getInputArg ( ) }
156
156
157
157
/**
158
- * The output data was provided to all update calls.
158
+ * Gets the output data provided to all update calls.
159
159
* If more output data was provided in the final call, override the method.
160
160
*/
161
161
override Expr getOutputArg ( ) { result = this .getUpdateCalls ( ) .getOutputArg ( ) }
0 commit comments