Skip to content

Commit

Permalink
matter: Update default for matter to enable nrf_oberon
Browse files Browse the repository at this point in the history
-Fix hash size issue (grew from 240 to 244 bytes)
-Changing default to disable PSA Crypto driver for nrf_cc3xx
 as it is not in use yet
-Removed CC3XX_BACKEND configuration from defaults

ref: NCSDK-13857

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
  • Loading branch information
frkv authored and anangl committed May 18, 2022
1 parent bb41f5c commit c20ead5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ choice OPENTHREAD_SECURITY
default OPENTHREAD_NRF_SECURITY_CHOICE
endchoice

config CC3XX_BACKEND
bool
default n
config PSA_CRYPTO_DRIVER_CC3XX
bool
default n

config OBERON_BACKEND
bool
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nrfconnect/CHIPPlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// Size of the statically allocated context for SHA256 operations in CryptoPAL
// determined empirically.
#ifdef CONFIG_CC3XX_BACKEND
#define CHIP_CONFIG_SHA256_CONTEXT_SIZE 240
#define CHIP_CONFIG_SHA256_CONTEXT_SIZE 244
#else
#define CHIP_CONFIG_SHA256_CONTEXT_SIZE 208
#endif
Expand Down

0 comments on commit c20ead5

Please sign in to comment.