@@ -3,7 +3,7 @@ private import experimental.quantum.OpenSSL.CtxFlow as CTXFlow
33private import experimental.quantum.OpenSSL.AlgorithmValueConsumers.OpenSSLAlgorithmValueConsumers
44
55/**
6- * All OpenSSL operations.
6+ * A class for all OpenSSL operations.
77 */
88abstract class OpenSSLOperation extends Crypto:: OperationInstance instanceof Call {
99 /**
@@ -28,12 +28,12 @@ abstract class OpenSSLOperation extends Crypto::OperationInstance instanceof Cal
2828 */
2929abstract class EVPInitialize extends Call {
3030 /**
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.
3232 */
3333 Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
3434
3535 /**
36- * The type of key operation, none if not applicable.
36+ * Gets the type of key operation, none if not applicable.
3737 */
3838 Crypto:: KeyOperationSubtype getKeyOperationSubtype ( ) { none ( ) }
3939
@@ -44,12 +44,12 @@ abstract class EVPInitialize extends Call {
4444 Expr getAlgorithmArg ( ) { none ( ) }
4545
4646 /**
47- * The key for the operation, none if not applicable.
47+ * Gets the key for the operation, none if not applicable.
4848 */
4949 Expr getKeyArg ( ) { none ( ) }
5050
5151 /**
52- * The IV/nonce, none if not applicable.
52+ * Gets the IV/nonce, none if not applicable.
5353 */
5454 Expr getIVArg ( ) { none ( ) }
5555}
@@ -61,7 +61,7 @@ abstract class EVPInitialize extends Call {
6161 */
6262abstract class EVPUpdate extends Call {
6363 /**
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.
6565 */
6666 Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
6767
@@ -98,7 +98,7 @@ private module AlgGetterToAlgConsumerFlow = DataFlow::Global<AlgGetterToAlgConsu
9898 */
9999abstract class EVPOperation extends OpenSSLOperation {
100100 /**
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.
102102 */
103103 Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
104104
@@ -138,7 +138,7 @@ abstract class EVPOperation extends OpenSSLOperation {
138138}
139139
140140/**
141- * Final calls of EVP API.
141+ * The final calls of the EVP API.
142142 */
143143abstract class EVPFinal extends EVPOperation {
144144 /**
@@ -149,13 +149,13 @@ abstract class EVPFinal extends EVPOperation {
149149 }
150150
151151 /**
152- * The input data was provided to all update calls.
152+ * Gets the input data provided to all update calls.
153153 * If more input data was provided in the final call, override the method.
154154 */
155155 override Expr getInputArg ( ) { result = this .getUpdateCalls ( ) .getInputArg ( ) }
156156
157157 /**
158- * The output data was provided to all update calls.
158+ * Gets the output data provided to all update calls.
159159 * If more output data was provided in the final call, override the method.
160160 */
161161 override Expr getOutputArg ( ) { result = this .getUpdateCalls ( ) .getOutputArg ( ) }
0 commit comments