Skip to content

Commit

Permalink
removed cflags from gni, removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silabs-srishylam committed Apr 11, 2023
1 parent 4648891 commit cadfb10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
15 changes: 0 additions & 15 deletions src/platform/silabs/SiWx917/CHIPCryptoPALTinyCrypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,13 +863,6 @@ CHIP_ERROR Spake2p_P256_SHA256_HKDF_HMAC::InitInternal(void)
G = curve_G;

return error;

/* commenting since this exit is defined but not used
exit:
_log_mbedTLS_error(result);
Clear();
return error;
*/
}

void Spake2p_P256_SHA256_HKDF_HMAC::Clear()
Expand Down Expand Up @@ -933,10 +926,6 @@ CHIP_ERROR Spake2p_P256_SHA256_HKDF_HMAC::FELoad(const uint8_t * in, size_t in_l

uECC_vli_mmod((uECC_word_t *) fe, tmp, curve_n);

/* commenting since this exit is defined but not used
exit:
_log_mbedTLS_error(result);
*/
return error;
}

Expand Down Expand Up @@ -973,10 +962,6 @@ CHIP_ERROR Spake2p_P256_SHA256_HKDF_HMAC::FEMul(void * fer, const void * fe1, co

uECC_vli_modMult((uECC_word_t *) fer, (const uECC_word_t *) fe1, (const uECC_word_t *) fe2, (const uECC_word_t *) curve_n);

/* commenting since this exit is defined but not used
exit:
_log_mbedTLS_error(result);
*/
return error;
}

Expand Down
8 changes: 0 additions & 8 deletions third_party/silabs/SiWx917_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,7 @@ template("siwx917_sdk") {
cflags += [
"-Wno-maybe-uninitialized",
"-Wno-shadow",
"-Wno-empty-body",
"-Wno-cpp",
"-Wno-missing-braces",
"-Wno-sign-compare",
"-Wno-error",
"-Wno-unknown-warning-option",
"-Wno-unused-variable",
"-Wno-implicit-function-declaration",
"-Wno-unused-function",
]

if (defined(invoker.defines)) {
Expand Down

0 comments on commit cadfb10

Please sign in to comment.