@@ -224,7 +224,7 @@ namespace eosio {
224224 inline int32_t alt_bn128_add ( const char * op1, uint32_t op1_len, const char * op2, uint32_t op2_len, char * result, uint32_t result_len ) {
225225 return internal_use_do_not_use::alt_bn128_add ( op1, op1_len, op2, op2_len, result, result_len);
226226 }
227-
227+
228228 /* *
229229 * Scalar multiplication operation on the elliptic curve `alt_bn128`
230230 *
@@ -257,7 +257,7 @@ namespace eosio {
257257 inline int32_t alt_bn128_mul ( const char * g1, uint32_t g1_len, const char * scalar, uint32_t scalar_len, char * result, uint32_t result_len ) {
258258 return internal_use_do_not_use::alt_bn128_mul ( g1, g1_len, scalar, scalar_len, result, result_len );
259259 }
260-
260+
261261 /* *
262262 * Optimal-Ate pairing check elliptic curve `alt_bn128`
263263 *
@@ -343,7 +343,7 @@ namespace eosio {
343343 * @param result - the result of the compression
344344 * @return -1 if there is an error otherwise 0
345345 */
346- int32_t blake2_f ( uint32_t rounds, const std::vector<char >& state, const std::vector<char >& msg, const std::vector<char >& t0_offset, const std::vector<char >& t1_offset, bool final , std::vector<char >& result) {
346+ inline int32_t blake2_f ( uint32_t rounds, const std::vector<char >& state, const std::vector<char >& msg, const std::vector<char >& t0_offset, const std::vector<char >& t1_offset, bool final , std::vector<char >& result) {
347347 eosio::check ( result.size () >= blake2f_result_size, " blake2_f result parameter's size must be >= 64" );
348348 return internal_use_do_not_use::blake2_f ( rounds, state.data (), state.size (), msg.data (), msg.size (), t0_offset.data (), t0_offset.size (), t1_offset.data (), t1_offset.size (), final , result.data (), result.size ());
349349 }
@@ -367,11 +367,11 @@ namespace eosio {
367367 * @param result_len - size of result
368368 * @return -1 if there is an error otherwise 0
369369 */
370- int32_t blake2_f ( uint32_t rounds, const char * state, uint32_t state_len, const char * msg, uint32_t msg_len,
370+ inline int32_t blake2_f ( uint32_t rounds, const char * state, uint32_t state_len, const char * msg, uint32_t msg_len,
371371 const char * t0_offset, uint32_t t0_len, const char * t1_offset, uint32_t t1_len, int32_t final , char * result, uint32_t result_len) {
372372 return internal_use_do_not_use::blake2_f ( rounds, state, state_len, msg, msg_len, t0_offset, t0_len, t1_offset, t1_len, final , result, result_len);
373373 }
374-
374+
375375 /* *
376376 * Hashes `data` using `sha3`
377377 *
0 commit comments