File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
targets/TARGET_Samsung/security_subsystem/drivers Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,6 @@ int sss_SHA2_256(
54
54
return ret ;
55
55
}
56
56
57
- //! step 0 : Check validity of parameter "object_id"
58
- #if 0
59
- if (pstMessage -> u32DataByteLen == 0 ) {
60
- return ERROR_HASH_INVALID_LEN_MSG ;
61
- }
62
- #endif
63
-
64
57
//! assign hash_byte_len to compare returned result from sss_fw after hash operation
65
58
object_id = OID_SHA2_256 ;
66
59
block_byte_len = 64 ;
@@ -108,13 +101,6 @@ int sss_SHA2_384(
108
101
return ret ;
109
102
}
110
103
111
- //! step 0 : Check validity of parameter "object_id"
112
- #if 0
113
- if (pstMessage -> u32DataByteLen == 0 ) {
114
- return ERROR_HASH_INVALID_LEN_MSG ;
115
- }
116
- #endif
117
-
118
104
//! assign hash_byte_len to compare returned result from sss_fw after hash operation
119
105
object_id = OID_SHA2_384 ;
120
106
block_byte_len = 128 ;
@@ -161,14 +147,7 @@ int sss_SHA2_512(
161
147
if (ret != SSSR_SUCCESS ) {
162
148
return ret ;
163
149
}
164
-
165
- //! step 0 : Check validity of parameter "object_id"
166
- #if 0
167
- if (pstMessage -> u32DataByteLen == 0 ) {
168
- return ERROR_HASH_INVALID_LEN_MSG ;
169
- }
170
- #endif
171
-
150
+
172
151
//! assign hash_byte_len to compare returned result from sss_fw after hash operation
173
152
object_id = OID_SHA2_512 ;
174
153
block_byte_len = 128 ;
You can’t perform that action at this time.
0 commit comments