File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
cpp/ql/lib/experimental/quantum/OpenSSL/Operations Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import cpp
2
2
3
- abstract class EVP_Hash_Inititalizer extends Call {
3
+ abstract class EVP_Hash_Initializer extends Call {
4
4
Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
5
5
6
6
abstract Expr getAlgorithmArg ( ) ;
7
7
}
8
8
9
- class EVP_DigestInit_Variant_Calls extends EVP_Hash_Inititalizer {
9
+ class EVP_DigestInit_Variant_Calls extends EVP_Hash_Initializer {
10
10
EVP_DigestInit_Variant_Calls ( ) {
11
11
this .( Call ) .getTarget ( ) .getName ( ) in [
12
12
"EVP_DigestInit" , "EVP_DigestInit_ex" , "EVP_DigestInit_ex2"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import experimental.quantum.OpenSSL.AlgorithmValueConsumers.OpenSSLAlgorithmValu
13
13
abstract class EVP_Hash_Operation extends OpenSSLOperation , Crypto:: HashOperationInstance {
14
14
Expr getContextArg ( ) { result = this .( Call ) .getArgument ( 0 ) }
15
15
16
- EVP_Hash_Inititalizer getInitCall ( ) {
16
+ EVP_Hash_Initializer getInitCall ( ) {
17
17
CTXFlow:: ctxArgFlowsToCtxArg ( result .getContextArg ( ) , this .getContextArg ( ) )
18
18
}
19
19
}
@@ -38,7 +38,7 @@ class EVP_Q_Digest_Operation extends EVP_Hash_Operation {
38
38
}
39
39
40
40
//override Crypto::AlgorithmConsumer getAlgorithmConsumer() { }
41
- override EVP_Hash_Inititalizer getInitCall ( ) {
41
+ override EVP_Hash_Initializer getInitCall ( ) {
42
42
// This variant of digest does not use an init
43
43
// and even if it were used, the init would be ignored/undefined
44
44
none ( )
@@ -74,7 +74,7 @@ class EVP_Digest_Operation extends EVP_Hash_Operation {
74
74
DataFlow:: exprNode ( this .( Call ) .getArgument ( 4 ) ) )
75
75
}
76
76
77
- override EVP_Hash_Inititalizer getInitCall ( ) {
77
+ override EVP_Hash_Initializer getInitCall ( ) {
78
78
// This variant of digest does not use an init
79
79
// and even if it were used, the init would be ignored/undefined
80
80
none ( )
You can’t perform that action at this time.
0 commit comments