Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk-nrf-upmerge #16860

Merged
merged 217 commits into from
Oct 4, 2024
Merged

sdk-nrf-upmerge #16860

merged 217 commits into from
Oct 4, 2024

Commits on Oct 4, 2024

  1. manifest: update manifest for upmerge

    Updates manifest for upmerge
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    14bd2e9 View commit details
    Browse the repository at this point in the history
  2. lib: date_time: define _POSIX_C_SOURCE for gmtime_r

    We need to define _POSIX_C_SOURCE to include gmtime_r from the
    standard library. Include minimum required _POSIX_C_SOURCE version.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3d99277 View commit details
    Browse the repository at this point in the history
  3. libraries: Change autoconf.h to zephyr/autoconf.h

    -During the last Zephyr upmerge the includes changed from autoconf.h
     to zephyr/autoconf.h which this commit fixes for the following:
     - TF-M header for IOCTL API
     - Out-of-tree device nrf device integration for TF-M
     - HW unique key library (and sysbuild)
     - lwm2m_carrier (sysbuild)
     - Bootloader (Partition Manager)
     - Netboot (Partition Manager)
     - Lots of Partition Manager yml files
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f96c838 View commit details
    Browse the repository at this point in the history
  4. tf-m: Replace deprecated z_arch_esf_t types

    -There is a deprecation of "z_arch_esf_t" in favor of using the
     type "struct arch_esf" that is changed in fault handling code for TF-M.
     This commit fixes this
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3e69b28 View commit details
    Browse the repository at this point in the history
  5. nrf_modem_lib: Fix removed CONFIG_LOG_DOMAIN_ID config

    -Changed CONFIG_LOG_DOMAIN_ID to Z_LOG_LOCAL_DOMAIN_ID as the former
     is removed
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e78afc8 View commit details
    Browse the repository at this point in the history
  6. crypto: Add pk_ecc.c to the build

    -Align with Mbed TLS 3.6.0 by adding a new interface pk_ecc.c
    
    NOTE: This interface is built around the idea of fallback-to-ECP_C which
    likely needs to be resolved in a change of this file in Mbed TLS
    distribution, because of conflicting ideas on what should be happening
    in a pure configuration of crypto (only using PSA crypto, not enabling
    anything in legacy)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d7eaa6b View commit details
    Browse the repository at this point in the history
  7. crypto: Removal of unsupported PSA crypto algorithm and key types

    -Removal of unsupported algorithms in nRF Connect SDK:
     -ARC4
     -ARIA
     -CAMELLIA
     -DES
     -SM3
     -SM4
     -SHAKE256_512
     -RIPEMD160
     -MD2
     -MD4
     -AES OFB - AES Output Feedback blockcipher
     -AES CFB - AES Cipher Feedback blockcipher
     -FFDH
     -DH
     -AES CBC MAC
    -Removal of deprecated configurations for ECC, RSA, SPAKE2P and SRP
     key pair (use IMPORT, EXPORT, GENERATE and DERIVE)
    -Adjusting Bluetooth Fast Pair to set ECC IMPORT, EXPORT, GENERATE and
     DERIVE key types (KEY_PAIR removed)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    619ac05 View commit details
    Browse the repository at this point in the history
  8. bluetooth: crypto: Adding missing key-types for ECC

    -PSA_WANT_KEY_TYPE_ECC_KEY_PAIR is deprecated in Mbed TLS and Bluetooth
     Fast Pairh have been enabling PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT for
     key type support. This commit adds the remaining (required):
     -PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
     -PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
     -PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    22d3042 View commit details
    Browse the repository at this point in the history
  9. crypto: Add missing config for key types for SPAKE2+ and RSA

    -Adding config PSA_WANT_TYPE_SPAKE2P_KEY_PAIR_GENERATE
    -Adding config PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    edfb995 View commit details
    Browse the repository at this point in the history
  10. crypto: Cleanup ordering of PAKE and RSA split configurations

    -This orders the configuration according to upstream Zephyr and Mbed TLS
     code on PAKE and RSA in the following order
     _IMPORT
     _EXPORT
     _GENERATE
     _DERIVE
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    12c7fb9 View commit details
    Browse the repository at this point in the history
  11. crypto: Enable Kconfig NRF_SECURITY by default

    -This commit adds more TLS/DTLS related configurations for the
     PSA Crypto oriented build-strategy. It's intent is to enable TLS/DTLS
     using PSA crypto by default while e.g. supporting PEM file input in NS
     world.
    -Removes a default y if BUILD_WITH_TFM for NORDIC_SECURITY_BACKEND
    -Add MBEDTLS_BASE64_C, MBEDTLS_ASN1_WRITE_C and MBEDTLS_ASN1_PARSE_C
     as prompt-less configurations that is enabled if PEM is enabled
    -Removed some dependencies for MBEDTLS_CIPHER_C to ensure it is
     only enabled when MBEDTLS_LEGACY_CRYPTO_C is enabled
    -Default enable MBEDTLS_PK_C when MBEDTLS_TLS_LIBRARY is enabled
    -Added dependencies for MBEDTLS_PK_WRITE_C/MBEDTLS_PK_PARSE_C
     towards MBEDTLS_PK_C being enabled
    -Added generation of aforementioned legacy configs for the PSA crypto
     centric configuration when SPM (TF-M secure image) is not enabled
    -Enabled X.509 in PSA crypto configuration scope (possible post
     Mbed TLS 3.6.0 addition, ensuring MBEDTLS_PSA_CRYPTO_CLIENT being
     properly supported...
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7f19327 View commit details
    Browse the repository at this point in the history
  12. crypto: Removing weak and/or unused ciphers in nrf_security

    -Removing the following ciphers:
     - Ripemd160
     - Aria
     - Camellia
     - DES
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    25edf62 View commit details
    Browse the repository at this point in the history
  13. crypto: Align psa_crypto_driver_wrappers to PSA key attributes

    -There is a big change in structuring of PSA key attributes with
     TF-M 2.1. Previously there was a sub-type called "core" inside
     the PSA key attributes, but this has been swallowed into the
     top-level structure. This commit removes references to ->core.
     in code
    -This code also improves some return-codes to prevent unused variables
     for a few cases where no crypto drivers are enabled
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8bf8db2 View commit details
    Browse the repository at this point in the history
  14. crypto: configs: Dis set of PSA_WANT_KEY_TYPE_ECC_XXXX_PAIR_BASIC

    -PSA_WANT_KEY_TYPE_XXXX_KEY_PAIR_BASIC is a configuration that
     previously was used to signal "basic type". It is no longer
     needed to set this configuration as it is only an internal
     construct. These has been made prompt-less configuration that
     is automatically enabled when key type support for _IMPORT,
     _EXPORT, _GENERATE or _DERIVE is requested
    -This updates the following project configs:
     -SUIT
     -psa_tls overlays for RSA
     -RSA sample
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9776b84 View commit details
    Browse the repository at this point in the history
  15. crypto: Unify Mbed TLS configuration generation

    -This commit improves generation of nrf-config.h which can be
     built either using PSA crypto or legacy crypto as
     starting-point. It enables more legacy/platform configurations
     in case PSA crypto is favored, to ensure that we can split the
     files:
     - nrf-config.h: Legacy and platform configurations
     - nrf-psa-crypto-config.h: PSA_WANT_ALG_XXXX etc.
     - nrf-psa-crypto-user-config: PSA_NEED_XXXX
    -Changed platform defines generation using the macro
     kconfig_check_and_set_base_to_one to kconfig_check_and_set_base.
     This ensures defines are set to be used for cmakedefine without
     value for standard configurations in Mbed TLS config.
     PSA_WANT_ALG_XXX etc. are the only ones that need to use
     kconfig_check_and_set_base_to_one as it is using #define
     SOME_DEFINE 1 and have #if checks based on the value
    -Adding nrf_config.cmake used by PSA crypto generation
    -Removing all legacy TLS/DTLS and and platform defines from
     psa_crypto_config.cmake. These are moved to nrf_config.cmake
     NOTE: This will be renamed to psa_crypto_user_config.cmake in a
     later commit as this will have PSA_NEED_XXXX configurations only!
    -Minor adjustments to comments in psa_crypto_want_config.cmake
    -Auto-enable MBEDTLS_PSA_CRYPTO_CONFIG to
     legacy_crypto_config.h.template to favor using
     MBEDTLS_PSA_CRYPTO_CONFIG_FILE and
     MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
    -Fix include-guards for psa_crypto_want_config.h so it fits for
     the coming rename of this file. We are now using the
     standardized definition PSA_CRYPTO_CONFIG_H found in Mbed TLS
     code and TF-M
    -Simplified the content of nrf-config.h.template. This now
     contains Platform, _ALT and TLS/DTS and X.509 and cipher-suites.
     Note: This addition adds a guard against enabling TLS/DTLS and
     X.509 in TF-M SPM and ARoT builds
    -The include guard in nrf-config.h.template is changed from
     MBEDTLS_CONFIG_PSA_H to MBEDTLS_CONFIG_FILE_H to reuse the guard
     found in Mbed TLS and TF-M
    -Removing legacy, platform and TLS/DTLS and X.509 configurations
     from psa_crypto_config.h.template. This is now provided by the
     generated nrf-config.h file
    -Changed the include-guard for psa_crypto_config.h.template to
     the standardized PSA_CRYPTO_USER_CONFIG_H used in TF-M and Mbed
     TLS. This file has PSA_NEED_XXXX and will be renamed to state
     that this is a PSA crypto user config file in a later commit
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cc3a3dc View commit details
    Browse the repository at this point in the history
  16. tf-m: Adding config_extra.cmake generation

    -This commit introduces using a standardized construct in TF-M
     to add configurations that gets loaded through a CMake file that
     is passed to TF-M build.
    -The configurations passed to TF-M is generated from
     config_extra.cmake.in which is passed with configure_file from
     Zephyr to inject static configurations that is necessary for
     building with/without TF-M and within TF-M's code as well as
     being compatible with nrf_security
    -config_extra.cmake will be generated with the following:
     -Static paths for folders relevant for TF-M and non TF-M build
      -nrfxlib folder
      -nrf_security root folder
      -Oberon PSA core module directory
      -Arm Mbed TLS module directory
     -PSA_CRYPTO_EXTERNAL_CORE, which is a signal that a PSA core
      external to TF-M is intended to be built
     -Static names to Mbed TLS (and PSA crypto) configurations,
      without full path that is used both inside and outside of
      TF-M
       -MBEDTLS_CONFIG_FILE
       -MBEDTLS_PSA_CRYPTO_CONFIG_FILE
       -MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
     -Paths to generated folders for configurations in two sets
      according to what is the usage:
       -PSA_CRYPTO_CONFIG_INTERFACE_PATH: Interface configurations used
        by ARoTs in TF-M image, and in Zephyr NS image in a TF-M enabled
        builds
       -PSA_CRYPTO_CONFIG_LIBRARY_PATH: Library configurations used by
        the actual build of crypto (TF-M crypto services in PRoT) or
        Mbed TLS and PSA core build in secure-only builds (no TF-M)
     -Additional state configurations relevant for external core build
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f510854 View commit details
    Browse the repository at this point in the history
  17. tf-m: Add use of generated crypto_extra.cmake file

    -This adds use of the generated crypto_extra.cmake file used to pass
    -This is added both in TF-M and in Zephyr builds as it simplifies
     path-handling for both cases in nrf_security.
    -This commit removes versions of CMake variables for paths in both entry
     points to building nrf_security (nrf_security/CMakeLists.txt and
     nrf_security/tfm/CMakeLists.txt)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    060dbea View commit details
    Browse the repository at this point in the history
  18. tf-m: crypto keys: Update platform HUK APIs

    -tfm_plat_get_huk and tfm_plat_get_iak APIs have changed a
     parameter from size_t to psa_key_bits_t. This commit aligns
     the APIs with TF-M 2.1
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    aa89b7e View commit details
    Browse the repository at this point in the history
  19. tf-m: Remove nordic-internal configuration for PSA attestation

    -Removing the Nordic-internal configuratio PSA_WANT_GENERATE_RANDOM for
     TFM_PARTITION_INITIAL_ATTESTATION, under the assumption that
     random generator is a default-enabled feature in a standard system
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    df5e679 View commit details
    Browse the repository at this point in the history
  20. tf-m: Add support for building PSA core externally

    -TF-M has no active support for out-of-tree builds of PSA core, and they
     have decided to place every PSA core (and interface file) in a common
     folder that we will have problem to use directly, as it conflicts with
     changed files on our end or files provided by the Oberon PSA core.
     This commit likely will be adjusted at some later point, but it tries
     to control include-order towards our replacement files and our strategy
     of handling generated crypto configurations for the build of
     the PSA interface and the library containing crypto support
    -This commit relies on the CMake variable PSA_CRYPTO_EXTERNAL_CORE
     which is added as a [nrf noup] in TF-M
    -This commit adds external_core.cmake which handles the following:
     - Ensure includes happen right after TF-M creates library targets
       to ensure that include-order dependency is resolved for taking in
       out-of-tree include folder from nrf_security, generated config file
       folder, Oberon PSA core include folders and out-of-tree addition
       of Arm Mbed TLS distribution (include and library folder)
     - Ensure that the generated config files (configured in NCS) are
       propagated to the TF-M build and is used for every library that
       depends on either PSA interface or library version of these
    -This commit adds external_core_install.cmake which will be used instead
     of the TF-M install target for specific PSA interface files.
    -Adding lots of files from TF-M tree into nrf_security include folder.
     nrf_security/include is added early in the include order to override
     equivalently named files from Arm Mbed TLS distribution in the PSA
     interface usage
    
    Note: It is frustrating that TF-M is include order dependent, and parts
    of the work to fix this will go towards ensuring that this is not
    in effect in upstream TF-M code. The files copied here are unfortunate
    and is only done to accelerate TF-M 2.1 integration...
    
    Please see NCSDK-XXXXX for details on how to fix this in upstream TF-M
    
    ref: NCSDK-XXXXX
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ce3d43c View commit details
    Browse the repository at this point in the history
  21. tf-m: Updated out-of-tree crypto_spe.h to aling with TF-M 2.1

    -This adjusts the out-of-tree file used for TF-M builds to adjust
     the PSA crypto APIs symbol names for crypto service build (prefixed
     with e.g. mbedcrypto__ to not collide with the PSA crypto APIs calls
     made from any other service and/or testing done from inside TF-M image.
    -This includes additions for PAKE APIs currently not supported in TF-M
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    939a257 View commit details
    Browse the repository at this point in the history
  22. tf-m: Add TF-M compiler flags to TF-M config libraries

    -This resolves an issue transferring compiler-flags and linker-options
     aggregated from TF-M build into all libraries built by nrf_security.
     The libraries psa_crypto_config and psa_crypto_library_config was
     chosen as this would previously be used by the now removed
     mbedcrypto_common, but this has been erased. By setting the compiler-
     flags and linker-options to these targets we ensure that the right
     floating-point configurations are used when building and linking
     with crypto-libraries
    
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    48f481e View commit details
    Browse the repository at this point in the history
  23. crypto: PSA core: Add psa_crypto_config + _library_config

    -This commit adds usage of psa_crypto_config and
     psa_crypto_config_library and it is a major refactoring on
     the PSA core in build
    -Previously we have made choices on whether or not to build
     specific features dependent on CMake variables constructed
     by nrf_security (BUILD_INSIDE_TFM and/or COMPILE_PSA_APIS).
     These have been removed in favor of the standard signals
     that exists in Mbed TLS and TF-M
     (MBEDTLS_PSA_CRYPTO_SPM and MBEDTLS_PSA_CRYPTO_C). This
     commit tries to fix a technical debt issue of using
     multiple competing signals for the same meaning. From this
     commit on, the standard signals will be used in all cases.
    -Added early exit in PSA crypto core build in case
     MBEDTLS_PSA_CRYPTO_C is not set (meaning it doesn't need
     to be built)
    -Added an early exit in all PSA driver build in case
     MBEDTLS_PSA_CRYPTO_C is not set (meaning it doesn't build
     the PSA core and no drivers are needed)
    -Adding cmake/generate_configs.cmake that includes macros
     generate_mbedcrypto_interface_configs and
     generate_mbedcrypto_library_configs
     which is used to ensure
    -Adding macros to store/restore specific configurations
     that needs to be changed depending on whether you have
     an interface build or a library build (generated in two
     sets)
    -Removing Kconfig GENERATE_MBEDTLS_CFG_FILE as it is
     unsupported
    -Removing MBEDTLS_USER_CONFIG_FILE as we are now using
     MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
    -Changing the default names for Mbed TLS config files
     according to the generated files named earlier in this
     commit-message
    -Removed all references to mbedcrypto_common which was
     used to transfer information both to PSA crypto interface
     and library build. This is now handled by psa_crypto_config
     and psa_crypto_library_config
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    88e3a49 View commit details
    Browse the repository at this point in the history
  24. crypto: Cleaning up PSA driver and core CMake logic

    -Creating named library: oberon_psa_core
    -Creating libraries for PSA crypto drivers:
     -cracen_psa_driver
     -oberon_psa_driver
     (nrf_cc3xx and nrf_cc3xx_platform are skipped as these
     come pre-built and are only linked in to the new
     oberon_psa_core library)
    -Make all drivers reference the new target
     psa_crypto_library_config both for include-folders and
     for configurations
    -Make oberon_psa_core link to every PSA crypto driver
    -Make all warning-disablement private to the relevant
     drivers
    -Adding NRF_RNG entropy driver to oberon_psa_core
     (was ${mbedcrypto_target}
    -Removing CONFIG_NRF_SECURITY_LEGACY_AND_PSA as it is
     now possible to configure both PSA crypto and at the
     same time enable legacy configurations by enabling by
     setting MBEDTLS_LEGACY_CRYPTO_C
    -Making PSA crypto driver CMake only relevant for PSA
     crypto drivers instead of doing this as well as legacy
     support
    -Fix coding standard in all driver CMake logic
    -Move interrupts.c addition for CRACEN internal to the
     sxsymcrypt runtime
    -Simplified oberon_psa_driver and cracen_psa_driver
     CMake logic so it has a unified look-and-feel and don't
     infer e.g. TF-M builds
    -Made PSA_CRYPTO_DRIVER_CRACEN default enabled
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f25e604 View commit details
    Browse the repository at this point in the history
  25. crypto: tls: Don't depend on MBEDTLS_CIPHER_C for TLS use-cases

    -This removes a dependency for MBEDTLS_CIPHER_C if TLS is enabled
     Now only MBEDTLS_MD_C is a legacy dependency for this module
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6108b75 View commit details
    Browse the repository at this point in the history
  26. crypto: Removal of unused out-of-tree files

    -Some out-of-tree files from Mbed TLS have been kept in nrf_security
     to get around issues with compiler warnings for unused functions
     and symbols and to remove unnecessary code when nrf_oberon is in use
     and is providing the Mbed TLS legacy support. This commit removes
     unused files (changed earlier) as well as finally removing aes.c and
     aes_oberon.c from the build as these are no longer needed. We now
     use Mbed TLS sources for most use-cases...
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    68c9547 View commit details
    Browse the repository at this point in the history
  27. crypto: Adding threading support for PSA core

    -Add support for threading in PSA core to align with Mbed TLS 3.6.0
     Mbed TLS 3.6.0 requires 3 mutex-symbols being globally accessible:
     - mbedtls_threading_key_slot_mutex
     - mbedtls_threading_psa_globaldata_mutex
     - mbedtls_threading_psa_rngdata_mutex
    
    Note: This is not used when CryptoCell is enabled, which has a
    different solution for threading support available in platform
    integration files found in nrfxlib.
    
    Note: This commit will likely be replaced with a implementation
    upstream, but is added here temporarily
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f24ba84 View commit details
    Browse the repository at this point in the history
  28. sample: tls: Enable SSL CLI for psa_tls

    -Enabling CONFIG_MBEDTLS_SSL_CLI_C for psa_tls sample
     This seems required to be set after Mbed TLS 3.6.0...
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2ecaeeb View commit details
    Browse the repository at this point in the history
  29. crypto: nrf_security: Fix coding standard issues

    -This commit contains coding-standard fixes for CMake. This doesn't
     change any functionality
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7d2912a View commit details
    Browse the repository at this point in the history
  30. crypto: legacy: Enable more PSA core/crypto awareness

    -Ensure MBEDTLS_THREADING_C is enabled when either
     CC3XX_BACKEND or PSA core is enabled. Enabling this will
     only happen when the core is built in secure-only builds.
     TF-M circumvents threading in its build
    -Ensure MBEDTLS_THREADING_ALT is set
    -Ensure MBEDTLS_BASE64_C is enabled always to simplify
     adding support for PEM (parse and write
    -Adding Kconfig MBEDTLS_OID_C so it can be generated in
     nrf-config.h both when building PSA centric and with
     MBEDTLS_LEGACY_CRYPTO_C enabled
    -Enabling MBEDTLS_ASN1_WRITE_C/MBEDTLS_ASN1_PARSE_C
     additionally when MBEDTLS_USE_PSA_CRYPTO is set for X.509
     support
    -Remove MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT depending on
     !BUILD_WITH_TFM
    -Remove default enablement of MBEDTLS_LEGACY_CRYPTO_C when
     BUILD_WITH_TFM is set
    -Ensure all legacy configurations aren't built when PSA
     crypto is used (using the Zephyr Kconfig PSA_CRYPTO_CLIENT
     to test)
    -Resolve PSA_WANT_ALG_XXXX and PSA_WANT_KEY_TYPE_XXXX from
     all enabled legacy crypto configurations
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ff3a6f8 View commit details
    Browse the repository at this point in the history
  31. libraries: Update all includes to <zephyr/net_buf.h>

    -The current upmerge deprecated <zephyr/net/buf.h> and replaces
     it with <zephyr/net_buf.h>. This change is on HCI, DTM, WIFI, RPC
     bluetooth and applications (to mention a few)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c59d4db View commit details
    Browse the repository at this point in the history
  32. suit: Fix Kconfig for SUIT (missing type)

    -Suit overrides for MBEDTLS_PSA_CRYPTO and MBEDTLS_ZEPHYR_ENTROPY was
     missing the Kconfig type and was giving warnings
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4faaad1 View commit details
    Browse the repository at this point in the history
  33. drivers: Remove nRF70 Wi-Fi driver

    This is now part of the Zephyr upstream.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    97f92a7 View commit details
    Browse the repository at this point in the history
  34. manifest: Use Zephyr hostap

    Now that nRF70 support is upstream, switch to upstream hostap.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    da1f66a View commit details
    Browse the repository at this point in the history
  35. treewide: Migrate to nRF70 upstream driver

    Upstream driver namespace is renamed from nrf700x -> nrf70.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5c8e0a2 View commit details
    Browse the repository at this point in the history
  36. boards: shields: Use upstream nRF7002EK shields

    nRF70 EK shields are now upstreamed.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    151540d View commit details
    Browse the repository at this point in the history
  37. treewide: Migrate to upstream Zephyr WPA supplicant

    nRF70 now uses upstream Zephyr WPA supplicant.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a36b1f9 View commit details
    Browse the repository at this point in the history
  38. modules: hostap: Remove hostap module

    Migrate to using Zephyr upstream.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    196229b View commit details
    Browse the repository at this point in the history
  39. boards: Remove nRF7002DK board

    This board is upstreamed to Zephyr.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    786ada3 View commit details
    Browse the repository at this point in the history
  40. treewide: Fix CMake warning for nRF70 driver heap

    nRF70 driver is the primary user for kernel heap and already sets a
    higher value which is typical, but for some configurations e.g.,
    scan-only we need to set it to lower value to optimize memory, so,
    enable the option to ignore minimum mandated value from driver and
    instead use the value from the sample.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    934125d View commit details
    Browse the repository at this point in the history
  41. samples: wifi: shell: Increase kernel heap

    nRF70 upstream driver now needs more heap, not sure about the cause, but
    without this OOM messages during boot are seen.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5a7947e View commit details
    Browse the repository at this point in the history
  42. migration: Add notes for nRF70 upstream switch

    Document changes that affect customer samples or applications.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cd87a02 View commit details
    Browse the repository at this point in the history
  43. doc: changelog: Update with upstream migration

    Update Drivers, Wi-Fi protocols and documentation with notes about
    upstream migration.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    55c3fed View commit details
    Browse the repository at this point in the history
  44. treewide: Use nRF7000 for scan only

    With latest upstream, scan only mode now only works with nRF7000.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9e6c93f View commit details
    Browse the repository at this point in the history
  45. ci: Quarantine nRF7002 unsupported boards

    These are still unsupported in nRF70 upstream.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4f395cc View commit details
    Browse the repository at this point in the history
  46. samples: wifi: Fix Raw mode build

    Remove the driver header dependency and inline the structures for now,
    this needs to be properly fixed in the future where nRF70 driver should
    have public headers.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    17e80d6 View commit details
    Browse the repository at this point in the history
  47. samples: wifi: coex: Explicitly enable co-existence

    With the upstream nRF70 driver, the co-ex is not auto-enabled based on
    the DTS, this was implemented improperly, now user has to explicitly
    choose to enable co-existence.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cb1e48b View commit details
    Browse the repository at this point in the history
  48. ci: Quarantine Thingy and Wi-Fi tests

    Thingy is not supported yet for nRF70 companion chips.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0c26188 View commit details
    Browse the repository at this point in the history
  49. samples: Remove unsupported platforms from integration

    Though these platforms are excluded for Wi-Fi tags, twister still fails
    as this is still part of integration platforms, remove it to fix the
    twister.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    396eb05 View commit details
    Browse the repository at this point in the history
  50. doc: Fix missing tag

    In latest nrfxlib this tag is removed, so, remove the reference to fix
    the doc build.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f2c463b View commit details
    Browse the repository at this point in the history
  51. samples: wifi: Remove raw modes for nRF7000

    As of now the raw mode is couple with system mode which is unsupported
    for nRF7000, so, remove them.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    bfb1471 View commit details
    Browse the repository at this point in the history
  52. samples: wifi: shutdown: Fix build errors

    Shutdown sample assumes default nRF70 mode is scan and doesn't support
    any other mode. With the migration to upstream scan only is limited to
    nRF7000 shield, so, remove other combinations.
    
    Also, add nRF7000 with 5340 as this was the main usecase for testing
    this sample.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4d1c6d9 View commit details
    Browse the repository at this point in the history
  53. ci: quarantine: Quarantine few mysterious memory overflows

    These overflows are only happening in the CI, locally the same twister
    command works fine, quarantine them for now, and investigate later.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    444d07b View commit details
    Browse the repository at this point in the history
  54. sysbuild: Remove some Kconfigs

    Removes some Kconfig options that have been added to zephyr
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7843026 View commit details
    Browse the repository at this point in the history
  55. openthread: Remove CFB and OFB from defconfig

    -This removes MBEDTLS_CIPHER_MODE_CFB and
     MBEDTLS_CIPHER_MODE_OFB which is no longer actively supported
     in nRF Connect SDK
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0b84b66 View commit details
    Browse the repository at this point in the history
  56. github: workflows: compliance: add unidiff to requirenments

    Add unidiff dependency to requirenments-fixed.txt and add it to
    the compliance.yml job "Install python dependencies"
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    478d904 View commit details
    Browse the repository at this point in the history
  57. samples: libraries: Fixing deprecated z_arch_esf_t

    -The upmerge brings in a deprecation of const z_arch_esf_t in favor
     of struct arch_esf. This commit fixes this for applications, samples
     and tests in the following domain:
     -fatal_error library
     -ipc_radio application
     -Audio application
     -Matter diagnostics (used by multiple samples)
     -fprotect tests
     -hw_unique_key tests
     -Audio tests
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    380405b View commit details
    Browse the repository at this point in the history
  58. applications: ipc_radio: align net_buf to new API

    The net_buf_put/get is deprecated, align to recommended API.
    
    Signed-off-by: Dominik Chat <[email protected]>
    dchat-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    07eea6d View commit details
    Browse the repository at this point in the history
  59. boards: shields: remove nrf7002eb

    The nrf7002eb is now part of sdk-zephyr. Remove out-of-tree shield.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e61e735 View commit details
    Browse the repository at this point in the history
  60. boards: shields: remove nrf700x_nrf54h20dk

    nrf700x_nrf54h20dk has been replaced by the nrf7002eb and
    nrf7002eb_interposer_p1 shields along with the nrf70-wifi snippet.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    31473b3 View commit details
    Browse the repository at this point in the history
  61. boards: shields: remove nrf700x_nrf54h15dk

    nrf700x_nrf54h15dk has been replaced by the nrf7002eb and
    nrf7002eb_interposer_p1 shields along with the nrf70-wifi snippet.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b8971f1 View commit details
    Browse the repository at this point in the history
  62. boards: shields: remove nrf700x_nrf54l15pdk

    nrf700x_nrf54l15pdk has been replaced by the nrf7002eb and
    nrf7002eb_interposer_p1 shields along with the nrf70-wifi snippet.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    34b8158 View commit details
    Browse the repository at this point in the history
  63. cmake: modules: kconfig: Update autoconf path

    Updates the path to the autoconf file as this has changed in
    Zephyr
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b7f2f1e View commit details
    Browse the repository at this point in the history
  64. boards: shields: add nrf7002eb_interposer_p1 shield

    Add the nrf7002eb_interposer_p1 shield which is connected to P1.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    680c338 View commit details
    Browse the repository at this point in the history
  65. doc: cmake: inject DOCS_HTML_DIR

    Since the addition of sphinx-autobuild support in Zephyr, the
    ZEPHYR_BUILD variable in conf.py requires knowledge of the HTML
    build dir from the environment, using DOCS_HTML_DIR.
    
    Ref: Zephyr 2e99de80472b80f36303ff85c8ed5d54dfe73ef4
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a256225 View commit details
    Browse the repository at this point in the history
  66. tf-m: Fix removed PSA_WANT_KEY_TYPE_RSA_KEY_PAIR configuration for tests

    -This commit removes selection of PSA_WANT_KEY_TYPE_RSA_KEY_PAIR for
     TF-M tests as this is no longer a
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6bde88b View commit details
    Browse the repository at this point in the history
  67. tf-m: Add a dummy PLAT_OTP_ID_LCS define for TF-M Minimal configuration

    -This adds a dummy OTP element in include/tfm/platform_otp_ids.h
     which is a file that is only used when TFM_PROFILE_TYPE_MINIMAL
     is set. It was added as TF-M 2.1 references this directly in the
     psa_api.c file. Note that calling to retrieve the LCS will always
     report "TFM_PLAT_ERR_UNSUPPORTED" as dummy_otp.c is enabled in this
     case. This commit is only fixing a build issue
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    aab0c41 View commit details
    Browse the repository at this point in the history
  68. crypto: Adding missing include-folder to CRACEN library

    fixup! crypto: Cleaning up PSA driver and core CMake logic
    
    -This fixes missing link to nrfx.h in CRACEN PSA crypto library
    
    (fixup of commit eccaa21)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fad6dfa View commit details
    Browse the repository at this point in the history
  69. crypto: CRACEN: Remove unused parameter

    -Removing a compilationg warning
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ac05e64 View commit details
    Browse the repository at this point in the history
  70. tf-m: Clean up PSA crypto interface/library config addition

    fixup! tf-m: Add support for building PSA core externally
    
    -This commit changes to install the PSA crypto interface config files
     to the TF-M install target, for use by Zephyr when TF-M is enabled
    -This commit prevents the interface-config (required for main app and
     NS image build in TF-M) from being enabled in any library build by
     using generator expressions in nrf_security_add_zephyr_options
     to filter out of the list that gets retrofitted into nrf_security
     libraries
    -This commit removes unneeded duplications of includes for
     ${mbedcrypto_target} which is already available in mbedcrypto_Base
    
    (fixup of commit 6791e0a)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4d4f5be View commit details
    Browse the repository at this point in the history
  71. crypto: Adjusting threading to also work with no multithreading support

    fixup! crypto: Adding threading support for PSA core
    
    -This commit changes from threading/CMakeLists.txt to
     threading/threading.cmake to ensure that include can be used
     instead of add_subdirectory. This is necessary to keep the
     variables used to pass to build the mbedcrypto lib working inside
     and outside
    -Added support for the faux no threading suppport mode by reusing
     the nrf_security_mutexes.h API
    -Adding init/free to nrf_security_mutexes.h APIs
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a4736d8 View commit details
    Browse the repository at this point in the history
  72. crypto: Rm unused target names mbedx509_target and mbedtls_target

    -TF-M renames the mbedcrypto target and previously it was also
     needed to rename mbedx509 and mbedtls (TLS/DTLS library). TF-M
     no longer build this so we can use the standard names instead
     of keeping the aforementioned targets as CMake variables
    -Changing ${mbedx509_target} => mbedx509
    -Changing ${mbedtls_target} => mbedtls
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    112f396 View commit details
    Browse the repository at this point in the history
  73. crypto: Fix legacy API support for TLS/DTLS and X.509

    -This commit moves some TLS-dependent APIs into ${mbedcrypto_target}
     as they are required for PSA to legacy conversions e.g. using
     psa_util.c APIs.
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7085ac5 View commit details
    Browse the repository at this point in the history
  74. crypto: Reworking the structure of psa driver/core

    fixup! crypto: Cleaning up PSA driver and core CMake logic
    
    -This improves include paths (putting things closer to where they are
     generated/imported
    -This ensures that legacy-world gets access to the include folders
     for nrf_cc3xx_platform and oberon imported libs without depending
     on PSA core build
    -This removes some return-guards which may be considered to be added
     on again (to resolve a CMake/linking issue)
    
    (fixup of commit fc0112a)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2b94d57 View commit details
    Browse the repository at this point in the history
  75. crypto: Fixup of threading for path resolvement

    fixup! crypto: Adding threading support for PSA core
    
    (fixup of commit 0667ab2=
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1d49548 View commit details
    Browse the repository at this point in the history
  76. crypto: Sep library and interface configs for nrf_security libs

    -This commit adds nrf_security_add_zephyr_options_library which
     adds includes from the zephyr_interface without PSA crypto
     interface configurations (include-folder addition where
     nrf-crypto.h is added)
    -Moving calls to nrf_security_add_zephyr_options closer to where the
     libraries are built (cleanup)
    -Made Oberon, CRACEN and core use
     nrf_security_add_zephyr_options_library
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    91006c5 View commit details
    Browse the repository at this point in the history
  77. crypto: Clean up deps for psa_crypto_config/psa_interface

    fixup! crypto: PSA core: Add psa_crypto_config and
    psa_crypto_library_config
    
    (fixup of commit cbf737a)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a34969f View commit details
    Browse the repository at this point in the history
  78. crypto: MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER for Nordic security b…

    …ackend
    
    fixup! crypto: Fix legacy API support for TLS/DTLS and X.509
    
    -This enables MBEDTLS_PSA_CRYPTO_KEY_ENCODES_OWNER to allow for
     NORDIC_SECURITY_BACKEND being used as a configuration when building
     with TF-M
    
    (fixup of commit da97260)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f055504 View commit details
    Browse the repository at this point in the history
  79. crypto: TF-M: Add filter for legacy API addition for ARoTs etc.

    fixup! crypto: Fix legacy API support for TLS/DTLS and X.509
    
    -This commit ensures that md/pk etc. is not added when building
     inside TF-M. There is a define called MBEDTLS_PSA_CRYPTO_SPM that
     is used as a signal that the SPM partition is going to be buitl, but
     unfortunately this configuration is too vague in our current build
    
    (fixup of commit da97260)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7ea38d4 View commit details
    Browse the repository at this point in the history
  80. crypto: Threading: Ensure linking against libkernel.a by path

    fixup! crypto: Adding threading support for PSA core
    
    -This resolves an issue with CRACEN builds where trying to get a proper
     link to kernel involves using kernel library by full path to avoid
     issues in build.
    -Make includes local for nrf_security_mutexes/events
    -Establish nrf_security_utils library to localize the issue and to
     try to find a better way to resolve this in the future
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3e7a1f2 View commit details
    Browse the repository at this point in the history
  81. crypto: TF-M: Add better filter for non PSA builds

    fixup! crypto: Fix legacy API support for TLS/DTLS and X.509
    
    -This commit is unfortunate, but it is required as there is no
     cleanliness to legacy symbols in non SPM targets in TF-M.
     This commit can be changed with a properly supported BUILD_INSIDE_TFM
     or similar signal
    
    (fixup of commit da97260)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b189486 View commit details
    Browse the repository at this point in the history
  82. crypto: Resolve path-issues with CRACEN builds

    fixup! crypto: Cleaning up PSA driver and core CMake logic
    
    -This commit resolves some path-issue with HUK library where
     APIs internal to PSA crypto is required to be accessible in
     PSA crypto interface scope. Exposing the CRACEN API towards NCS
     libraries is currently unavoidable.
    
    (fixup of commit fc0112a)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1e72acc View commit details
    Browse the repository at this point in the history
  83. samples: wifi: privisioning: softap: add missing integration_platforms

    This is requires because sample documentation uses the
    table-from-sample-yaml directive.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3ef326f View commit details
    Browse the repository at this point in the history
  84. doc: nrf: update references to Zephyr docs

    Zephyr has increased usage of :zephyr:code-sample:, also some have
    changed their name.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c5d1dd7 View commit details
    Browse the repository at this point in the history
  85. doc: redirects: remove invalid entries

    Redirects are now validated against all available documents within a
    docset, so we cannot have random redirects to external docsets. Delete
    entries which were crossing boundaries, these will need to be handled
    manually somewhere else.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    858c869 View commit details
    Browse the repository at this point in the history
  86. ieee802154: 802154_rpmsg: Fix path in CMake and sysbuild conf

    Fix ieee802154/802154_rpmsg path in CMake and sysbuild conf.
    
    Signed-off-by: Dawid Przybylo <[email protected]>
    dawidprzybylo authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a0f336b View commit details
    Browse the repository at this point in the history
  87. samples: Align samples to new recommeneded net_buf API.

    Align the usage of net_buf_put/get to use k_fifo_put/get as recommended
    per Zephyr upstream.
    
    Signed-off-by: Dominik Chat <[email protected]>
    dchat-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    240504f View commit details
    Browse the repository at this point in the history
  88. tf-m: Add ${NRF_DIR} to external core and added include

    fixup! tf-m: Add support for building PSA core externally
    
    -This adds include for /nrf/include/tfm which has a file
     used for builtin key support. This is using the same
     mechanism as other types of paths passed to TF-M
    
    (fixup of commit 96a5924)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fa459ec View commit details
    Browse the repository at this point in the history
  89. crypto: Handling threading support a bit more accurately

    fixup! crypto: Adding threading support for PSA core
    
    -This commit ensures the appropriate linking from nrf-security_utils
     to libraries in tf-M related to low-level OS integration
     like the addition of __assert.h and the debvug log used whe
     asserts happen
    -This commit also moves nrf_security_utils into private scope
     for mbedcrypto-base and cracen PSA crypto library
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    909835f View commit details
    Browse the repository at this point in the history
  90. ble: Fix const correctness for bt_le_adv_parms

    -This fixes build warnings for certain samples for BLE
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f47a543 View commit details
    Browse the repository at this point in the history
  91. crypto: Resolving more PSA features from legacy

    fixup! crypto: legacy: Enable more PSA core/crypto awareness
    
    -This commit enabled MBEDTLS_WANT_KEY_TYPE_AES for any cipher-usge
     (by select)
    -This commit resolves PSA_WANT_ALG_ECB_NO_PADDING when
     MBEDTLS_CMAC_C is set
    -The changes is made to conform with check_config.h
    
    (fixup of commit 39f2cbc)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4032731 View commit details
    Browse the repository at this point in the history
  92. crypto: Made imported (legacy) libraries use psa_crypto-config

    fixup! crypto: Cleaning up PSA driver and core CMake logic
    
    -This commit changes link dependency on nrf_cc3xx_core_imported
     towards psa_crypto_config (was _config_library) to prevent
     propagation of multiple sets of configs
    -Same also done for mbedcrypto-oberon_mbedtls_imported
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    63f9f1b View commit details
    Browse the repository at this point in the history
  93. modem: tests: Change z => zvfs

    -Changed z_reserve_fd => zvfs_reserve_fd
    -Changed z-free_fd => zvfs_free-fd
    -Changed z_finalize_fd => zvfs_finalize-fd
    -Bonus points: fixed comments referencing the non-existent
     APIs, as well
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    dc24603 View commit details
    Browse the repository at this point in the history
  94. net: download client: Added K_THREAD_STACK_MEMBER definition

    -One of the structures in this file was using K_THREAD_STACK_MEMBER
     which didn't exists. Added a define to point to K_KERNEL_STACK_MEMBER
     in the header-file to resolve some build issues
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    941d8fe View commit details
    Browse the repository at this point in the history
  95. bluetooth: controller: align softdevice with BT_CTLR_CRYPTO_SUPPORT

    Aligned the Softdevice controller with the BT_CTLR_CRYPTO_SUPPORT
    Kconfig from upstream.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b767aa4 View commit details
    Browse the repository at this point in the history
  96. tests: nrf_compress: Enable legacy crypto for mbedtls_sha256_c

    -This enables two missing configurations for this test:
     CONFIG_MBEDTLS_SHA256_C
     CONFIG_MBEDTLS-LEGACY_CRYPTO_C
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a91ed9e View commit details
    Browse the repository at this point in the history
  97. crypto: Adding "-Wno-unused-function" to avoid oberon_ecdsa errors

    -This commit allows unused functions for Oberon PSA crypto driver
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e4a5f2e View commit details
    Browse the repository at this point in the history
  98. crypto: Resolving CHACHA20 into PSA crypto configs

    fixup! crypto: legacy: Enable more PSA core/crypto awareness
    
    -Resolving PSA_WANT_ALG_STREAM_CIPHER if MBEDTLS_CHACHA20_C is set
    
    (fixup of commit 39f2cbc)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    673dfcc View commit details
    Browse the repository at this point in the history
  99. boards: thingy91x: replace removed Kconfig option

    `CONFIG_SPI_NOR_IDLE_IN_DPD` doesn't exist
    anymore. `CONFIG_PM_DEVICE_RUNTIME` enables its previous behavior,
    which is now tunable with `CONFIG_SPI_NOR_ACTIVE_DWELL_MS`.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6f8d005 View commit details
    Browse the repository at this point in the history
  100. applications: serial_lte_modem: fix "'noreturn' function does return"

    Remove the `noreturn` attribute from functions because functions they
    call (e.g. `nrf_regulators_system_off()`) miss it.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    61ce946 View commit details
    Browse the repository at this point in the history
  101. nrf_security: add missing Mbed TLS source file

    Add block_cipher.c to fix undefined references to functions in there.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e56fb02 View commit details
    Browse the repository at this point in the history
  102. nrf_security: fix MBEDTLS_HKDF_C dependency

    Make it select PSA_WANT_ALG_HMAC as the latter is a requirement of
    the former.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ce66656 View commit details
    Browse the repository at this point in the history
  103. tests: crypto: add missing Mbed TLS Kconfig options

    With the default-enabled Mbed TLS Kconfig options having been reduced
    in Zephyr, it's now necessary to manually enable them.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7dd226c View commit details
    Browse the repository at this point in the history
  104. bindings: usb: zephyr,hid-device: rename in-polling-rate

    in-polling-rate has been renamed in-polling-period-us, adapt nrf
    overlays to reflect this.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d1716d6 View commit details
    Browse the repository at this point in the history
  105. applications: nrf_desktop: update usbd config define macro usage

    Update USBD_CONFIGURATION_DEFINE() macro usage in nrf_desktop app.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c835aa8 View commit details
    Browse the repository at this point in the history
  106. crypto: Add fallback to get PSA crypto driver APIs

    -This is necessary to avoid failing to include psa/crypto.h
     when BUILD_WITH_TFM or MBEDTLS_PSA_CRYPTO_C is not set
    
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9668393 View commit details
    Browse the repository at this point in the history
  107. crypto: Fix collision with mbedtls_ecdsa_can_do for nrf_oberon

    -This adds a copy of ecdsa.c from Mbed TLS to allow us to adjust
     the code to remove a symbol inside the ecdsa.c which is duplicated
     in the library.
    -The nrf_oberon Mbed TLS library needs to be rebuilt without this symbol
     to be able to remove this special adjustment
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    941f026 View commit details
    Browse the repository at this point in the history
  108. crypto: Fix access to Mbed TLS base APIs for nrf_cc3xx imported libs

    -This provides access to more APIs from legacy Mbed TLS for the
     imported nrf_cc3xx libraries, which should fix some build issues
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0026c55 View commit details
    Browse the repository at this point in the history
  109. samples: bluetooth: fast_pair: locator_tag: align Kconfigs from libc

    Aligned the Kconfig options from the libc library related to the
    dynamic memory allocation with the newest Zephyr synchronization
    point.
    
    The library-specific Kconfigs were renamed and placed in the common
    directory.
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d4bd201 View commit details
    Browse the repository at this point in the history
  110. bluetooth: controller: ecdh: enable security backend for tf-m builds

    Enabled the CONFIG_NORDIC_SECURITY_BACKEND Kconfig for TF-m builds
    when the CONFIG_BT_CTLR_ECDH_LIB_OBERON is enabled in the Bluetooth
    Controller library.
    
    The change is required as previously the CONFIG_NORDIC_SECURITY_BACKEND
    Kconfig was enabled for TF-m builds (CONFIG_BUILD_WITH_TFM).
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b6ec9cb View commit details
    Browse the repository at this point in the history
  111. crypto: Adding legacy headers gave mismatch for nRF54H SSF samples

    -Fallback to include ARM includes was a bad idea. This changes it to
     Oberon-psa-crypto include folder instead. This issue impacted
     nRF54H20 samples which isn't building the PSA core locally (meaning
     the build has PSA crypto APIs available, but is a coreless build).
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    77a59eb View commit details
    Browse the repository at this point in the history
  112. tfm: tests: Enable PSA_WANT_ALG_ECDSA

    -The regression test config (prj.conf) was missing PSA_WANT_ALG_ECDSA
     and likely was assuming that setting PSA_WANT_ALG_DETERMINISTIC_ECDSA
     would internally resolve both. This is not the case. This commit
     fixes this
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6e7858a View commit details
    Browse the repository at this point in the history
  113. tf-m: tests: Add better filtering of CRACEN devices for regression tests

    -The nRF54L15 device only supports enabling CRACEN, an attempt to
     enable PSA_CRYPTO_DRIVER_OBERON will lead to a Kconfig warning stating
     that something tried to set it to 'y' and then it got the value 'n'.
     This commit moves platform_allow/integration_platforms from common
     scope in to per-testcase, as well as adding cracen test target
     for certain regression tests
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c20ec0f View commit details
    Browse the repository at this point in the history
  114. crypto: Simplify include folder passing in legacy crypto binaries

    fixup! crypto: Cleaning up PSA driver and core CMake logic
    
    -Simplify include folders for legacy usage by moving resolving of
     include folder for nrf_cc3xx and nrf_oberon binary libraries into
     drivers/legacy/CMakeLists.txt.
    -This commit also resolves an issue with include-folders used for
     Mbed TLS legacy APIs for nrf_oberon as well as resolving a linkage
     towards legacy APIs used in context of nrf_oberon Mbed TLS library
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e6703fb View commit details
    Browse the repository at this point in the history
  115. crypto: Avoid OpenThread issue with MBEDTLS_SSL_EXPORT_KEYS

    -Mbed TLS has decided that MBEDLS_SSL_EXPORT_KEYS is always set but this
     is not reflected in nrf_security or in OpenThread (where the
     config is passed regardless). This commit tries to circumvent issues
     by adding ifndef checks before potentially doubly defining this
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    adf999a View commit details
    Browse the repository at this point in the history
  116. samples: bluetooth: Remove CONFIG_BT_DEBUG_LOG use

    CONFIG_BT_DEBUG_LOG no longer exists, a hidden symbol CONFIG_BT_LOG
    should be enabled instead, hence make sure the dependencies for the
    symbol are satisfied (CONFIG_BT && CONFIG_LOG).
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    29a83bb View commit details
    Browse the repository at this point in the history
  117. applications: remove Kconfig for selecting HCI driver

    Removed the BT_HCI_IPC Kconfig from the application configuration,
    as this option for selecting the Bluetooth HCI driver over IPC does
    not have a Kconfig prompt anymore.
    
    The selection of the Bluetooth HCI driver is now done using DTS.
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    eebde45 View commit details
    Browse the repository at this point in the history
  118. treewide: Remove remaining CONFIG_WIFI_NRF700X use

    The Wi-Fi driver now defines CONFIG_WIFI_NRF70 config.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    871267c View commit details
    Browse the repository at this point in the history
  119. Bluetooth: Controller: Kconfig: select BT_CTLR_CRYPTO_SUPPORT for sdc

    Config BT_CTLR_CRYPTO now has dependency to BT_CTLR_CRYPTO_SUPPORT.
    
    Signed-off-by: Lang Xie <[email protected]>
    laxiLang authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a5b9204 View commit details
    Browse the repository at this point in the history
  120. wifi: shell: Remove usage of Kconfig MBEDTLS_GENERATE_CFG_FILE

    -This configuration was always set for all usage of nrf_secrity
     This has now been removed. This removes reference to the Kconfig
     from a wifi shell scan-only sample
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7684792 View commit details
    Browse the repository at this point in the history
  121. applications: serial_lte_modem: fix native_tls Kconfig overlay

    Remove the disabling of 2 Kconfig options that do not exist anymore,
    and a third one that is not needed.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    176a4b9 View commit details
    Browse the repository at this point in the history
  122. tests: suit: fix "MBEDTLS_ECDSA_C defined, but not all prerequisites"

    Add the missing definition of MBEDTLS_ASN1_PARSE_C to the user Mbed
    TLS configuration file.
    
    The whole thing could be made better by switching to using Kconfig
    symbols for selection of Mbed TLS features, but this would be a
    separate cleanup task.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    63a33c4 View commit details
    Browse the repository at this point in the history
  123. Bluetooth: Mesh: align rpl with subnet bridge changes

    Align rpl with subnet bridge changes.
    
    Signed-off-by: alperen sener <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c408742 View commit details
    Browse the repository at this point in the history
  124. unity: Fix cmock headers generation (syscalls)

    Syscalls headers location is now prefixed with "zephyr", so need to take
    this into account when generating cmock headers for unity.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    58037f9 View commit details
    Browse the repository at this point in the history
  125. snippets: add nrf70-wifi snippet

    This snippet is used for nrf54h20 and nrf54l15 boards which are
    ressource constrained on the cpuapp core, requiring reallocation of
    sram, rram, and custom kconfig settings to fit the wifi driver onto
    the cpuapp core.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1877e57 View commit details
    Browse the repository at this point in the history
  126. samples: wifi: shell: Update nrf7002eb_interposer tests

    The nrf7002_interposer board now is a proper shield, along with the
    proper shield nrf7002eb. Update the tests which use the interposer +
    nrf7002eb shield, and combine them into a single test suite since
    the test is identical for any board using this combo.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    37ea811 View commit details
    Browse the repository at this point in the history
  127. crypto: Simplify psa_crypto_config/psa_crypto_library_config selection

    -Make a selection of the interface vs library build by adding
     the interface-target psa_crypto_config_chosen and reference
     by INTERFACE linkage which of the two possible candidate targets
     is used in the current scope
    -Also simplify handling of MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
     by protecting it behind CONFIG_BUILD_WITH_TFM
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    15aa0e7 View commit details
    Browse the repository at this point in the history
  128. crypto: Fix SSF for psa_crypto_config selection

    -Choosing psa_crypto_config for SSF client builds
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7dba32a View commit details
    Browse the repository at this point in the history
  129. doc: nrf: adjust references to hello world sample

    Sample now uses :zephyr:code-sample:
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5ddb9a1 View commit details
    Browse the repository at this point in the history
  130. nrf_security: remove CFB and OFB Mbed TLS cipher modes

    Remove the possibility to enable these two cipher modes in Mbed TLS.
    They have existed for historical reasons.
    Other, stronger alternatives should be used instead.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    53d10a3 View commit details
    Browse the repository at this point in the history
  131. Bluetooth: tester: testing.h is moved under mesh directory

    Align the bluetooth tester for testing.h directory and api changes
    
    Signed-off-by: alperen sener <[email protected]>
    m-alperen-sener authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    65baef0 View commit details
    Browse the repository at this point in the history
  132. bluetooth: fast_pair: crypto: enable security backend for tf-m builds

    Enabled the CONFIG_NORDIC_SECURITY_BACKEND Kconfig option for TF-m
    builds that use the Fast Pair cryptographic backend that is available
    via the CONFIG_BT_FAST_PAIR_CRYPTO_OBERON Kconfig option.
    
    The change is required as previously the CONFIG_NORDIC_SECURITY_BACKEND
    Kconfig option was enabled for TF-m builds (CONFIG_BUILD_WITH_TFM).
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f8e390f View commit details
    Browse the repository at this point in the history
  133. crypto: Allow for more legacy-only API support

    -This commit changes HAS_XXXX_CIPHERSUITE_REQUIREMENTS to be
     a bit more accurate with regards to eiher using legacy or PSA
     configurations
    -This commit allows for more legacy support by changing
     default y from PSA_CRYPTO_CLIENT to the symbol MBEDTLS_USE_PSA_CRYPTO
     which is a lot more friendly as it dictates "usage".
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a4be9eb View commit details
    Browse the repository at this point in the history
  134. crypto: Add missing API for RSA (Mbed TLS 3.6.0 + RSA_ALT)

    -This API is currently not part of the nrf_cc3xx Mbed TLS library
    -Adding rsa_ext.c to ${mbedcrypto_target}
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1f9af1f View commit details
    Browse the repository at this point in the history
  135. crypto: legacy psa_tls: Add enabledment of MBEDTLS_ECDSA_C/ECDH_C

    -Add these configurations as they are needed to be set manually
     for legacy support
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    95478f2 View commit details
    Browse the repository at this point in the history
  136. crypto: Make MD support non-local build of PSA core

    -This created an additional file md_ext that contains a couple of
     functions that are run to check if PSA crypto is initialized.
     In our TF-M implementation we always boot TF-M image first, so the
     check doesn't make sense. Nevertheless we need the symbol and choose
     to solve it here, rather than adjusting the md.c in Mbed TLS.
    -Add phony version of psa_can_do_hash and psacan_do_cipher
     for use wnen TF-M is enabled
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9780c6e View commit details
    Browse the repository at this point in the history
  137. crypto: Add resolvement of HMAC when enabling DETERMINISTIC_ECDSA

    -Resolves issue in building certain samples
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1fe9a8e View commit details
    Browse the repository at this point in the history
  138. crypto: Wider mask to prevent duplicate mbdtls_eccdsa_can_do

    -First it was tested against CONFIG_OBERON_BACKEND, now we test
     with this and PSA_CRYPTO_DRIVER_OBERON. This commit will be squashed
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8a72dcb View commit details
    Browse the repository at this point in the history
  139. kconfig: change MINIMAL_LIBC_MALLOC to COMMON_LIBC_MALLOC

    MINIMAL_LIBC_MALLOC has been deprecated and removed in favor of
    COMMON_LIBC_MALLOC, therefore change CONFIG_MINIMAL_LIBC_MALLOC=n to
    CONFIG_COMMON_LIBC_MALLOC=n.
    
    Ref: zephyrproject-rtos/zephyr#56309
         zephyrproject-rtos/zephyr#74322
    
    Signed-off-by: Torsten Rasmussen <[email protected]>
    tejlmand authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0ab7a09 View commit details
    Browse the repository at this point in the history
  140. applications: nrf_desktop: Handle USBD_MSG_CONFIGURATION

    Change introduces handling USBD_MSG_CONFIGURATION to USB state module to
    prevent emitting error logs.
    
    Jira: NCSDK-29326
    
    Signed-off-by: Marek Pieta <[email protected]>
    MarekPieta authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    30d3c06 View commit details
    Browse the repository at this point in the history
  141. applications: nrf_desktop: Align USB HID buffers

    Change aligns USB HID buffers with requirements of USB next stack.
    
    Jira: NCSDK-29326
    
    Signed-off-by: Marek Pieta <[email protected]>
    MarekPieta authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8c1d40c View commit details
    Browse the repository at this point in the history
  142. crypto: Standardizing on using MBEDTLS_USE_PSA_CRYPTO for Kconfig.legacy

    -The control over default values is done with MBEDTLS_USE_PSA_CRYPTO
     instead of PSA_CRYPTO_CLIENT as this is more in line with wishes
     on usage
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2220f27 View commit details
    Browse the repository at this point in the history
  143. crypto: Add wider mask for enabling legacy Mbed TLS files

    -Adding CONFIG_OBERON_BACKEND and CONFIG_CC3XX_BACKEND as a
     criteria for adding legacy Mbed TLS files like rsa.c etc..
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e6e752a View commit details
    Browse the repository at this point in the history
  144. scripts: quarantine_zephyr: Update net_buf entry

    net_buf tests were moved and now have a different test signature.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a803a05 View commit details
    Browse the repository at this point in the history
  145. suit: crypto: Remove filtering of SOC_FAMILY_NORDIC_NRF

    -Removed filtering of SOC_FAMILY_NORDIC_NRF for the following
     configurations required to run native_posix test:
     - PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
     - PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
     - PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
     - PSA_WANT_ECC_TWISTED_EDWARDS_255
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f2ee1cf View commit details
    Browse the repository at this point in the history
  146. tests: lib: location: Align with upstream device.h changes

    z_device_is_ready() was removed, and conditionally compiled
    device_get_dt_nodelabels has to be excluded from cmock generation.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6b79524 View commit details
    Browse the repository at this point in the history
  147. samples: matter: Disable unused cpuflpr from DTS.

    Removed cpuflpr support and its partition since it is not used in
    Matter. This saves the MRAM memory for the application code.
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    ArekBalysNordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    98ecc4f View commit details
    Browse the repository at this point in the history
  148. applications: machine_learning: remove flpr nodes to fix missing label

    Removed DTS nodes associated with the cpuflpr target as they refer to
    the cpuflpr_code_partition label from the cpuapp_rx_partitions node. The
    label has been removed in this file due to the modification of the
    cpuapp_rx_partitions node. The cpuflpr_vpr and cpuapp_cpuflpr_ipc DTS
    nodes are removed to prevent build failures.
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8bd3ab7 View commit details
    Browse the repository at this point in the history
  149. crypto: Add CONFIG_MBEDTLS_LEGACY_C to net/download sample

    -This sample is using mbedtls_sha which was not resolved.
     By enabling CONFIG_MBEDTLS_LEGACY_C we allow that this for now
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5f6125c View commit details
    Browse the repository at this point in the history
  150. tests: net: lib: nrf_provisioning: Define COAP_CLIENT_BLOCK_SIZE

    New config for coap_client was introduced upstream so need to define it
    in the test.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8211d2d View commit details
    Browse the repository at this point in the history
  151. samples: bluetooth: Fix build warning about bt_le_adv_params

    Fix the compile warnings in NCS bluetooth samples.
    
    Signed-off-by: Lang Xie <[email protected]>
    laxiLang authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    67a28a0 View commit details
    Browse the repository at this point in the history
  152. doc: nrf: update mcumgr references

    These are now local (nrf docset).
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0c26e52 View commit details
    Browse the repository at this point in the history
  153. crypto: Fix wrong label oberon_psa_core

    -For some reason this was quoted (which is not right). Changing
     ${oberon_psa_core} to oberon_psa_core (which is the actual target)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fa37c92 View commit details
    Browse the repository at this point in the history
  154. samples: cellular: nrf_cloud_multi_service: Use correct config option

    Config option for WPA_SUPPLICANT module has been modified. Use the
    updated config option instead of `WPA_SUPP`.
    
    Signed-off-by: Ravi Dondaputi <[email protected]>
    rado17 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    17c632c View commit details
    Browse the repository at this point in the history
  155. scripts: quarantine: quarantine nrfx_spim samples

    The nrfx_spim blocking and non_blocking samples which are in
    hal_nordic are blocking upmerge, and can not be fixed as part of
    upmerge. Therefore quarantine them. They will be fixed upstream
    and included in next upmerge.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0067fcf View commit details
    Browse the repository at this point in the history
  156. tests: suit: temporarily disable native_posix signature check

    This is done to unblock the upmerge, as psa signature verification
    stopped working, as well as the imported volatile key_id has changed.
    
    Will be reverted when PSA on native posix works correctly again.
    
    Signed-off-by: Artur Hadasz <[email protected]>
    ahasztag authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    49eb206 View commit details
    Browse the repository at this point in the history
  157. samples: Fix BLE adv params build warning

    Fix the compile warning in samples, i.e., initialization discards
    'const' qualifier from pointer target type.
    
    Signed-off-by: Lang Xie <[email protected]>
    laxiLang authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8307291 View commit details
    Browse the repository at this point in the history
  158. samples: openthread: Disable unused cpuflpr

    Disabled cpuflpr in the Openthread CLI sample DTS overlay file.
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    ArekBalysNordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2bfc68b View commit details
    Browse the repository at this point in the history
  159. Applications: Audio: Upmerge sept 24

    - Changelog pass done
    - Made changes to BCT and added
      bt_bap_unicast_server_register
    - BIS bitfield change
    
    Signed-off-by: Kristoffer Rist Skøien <[email protected]>
    koffes authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0beb26a View commit details
    Browse the repository at this point in the history
  160. crypto: Fix aliasing issues of mbedtl_mutex_xxxx APIs

    fixup! crypto: Adding threading support for PSA core
    
    -Needs to be pointer to function not functions
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c64706b View commit details
    Browse the repository at this point in the history
  161. samples: wifi: shell: Reduce static RAM usage

    Static RAM usage is exceeding the `RAM` region at build time. Decrease
    the number of RX buffers to fix this.
    
    Signed-off-by: Ravi Dondaputi <[email protected]>
    rado17 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    aa583c9 View commit details
    Browse the repository at this point in the history
  162. modules: wifi: provisioning: softap: Enable WIFI_NRF70

    Add sysbuild conf to override the default setting for `WIFI_NRF70`.
    
    Signed-off-by: Ravi Dondaputi <[email protected]>
    rado17 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    196deba View commit details
    Browse the repository at this point in the history
  163. nrf_security: Use the renamed header file

    The common header file is now renamed with the module prefix.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    609272a View commit details
    Browse the repository at this point in the history
  164. dfu: dfu_target: Add support for flatten

    Adds support for devices that support flatten and not (or as well)
    as erase
    
    Signed-off-by: Jamie McCrae <[email protected]>
    Signed-off-by: Andrzej Puzdrowski <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    93172b1 View commit details
    Browse the repository at this point in the history
  165. Revert "applications: nrf_desktop: Disable USB remote wakeup on nRF54…

    …H20"
    
    This reverts commit bd0c4b2.
    
    Signed-off-by: Marek Pieta <[email protected]>
    MarekPieta authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ce6387d View commit details
    Browse the repository at this point in the history
  166. samples: net: Add sysbuild Wi-Fi config

    When sysbuild Wi-Fi needs to be enabled explicitly to avoid build
    issues.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4883042 View commit details
    Browse the repository at this point in the history
  167. crypto: Defer mutex operation in pre-kernel

    fixup! crypto: Adding threading support for PSA core
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2061895 View commit details
    Browse the repository at this point in the history
  168. tfm: Propagate PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY_LOADER

    -Fixes issues booting TF-M
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f7e7cb6 View commit details
    Browse the repository at this point in the history
  169. quarantine: native_sim, samples, drivers, tests which use sdl2

    This will be re-enabled when sdl2 is added to toolchain.
    
    Signed-off-by: Thomas Stilwell <[email protected]>
    thst-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ef1ebe0 View commit details
    Browse the repository at this point in the history
  170. crypto: Rename to nrf_security_mutex_t to mbedtls_threading_mutex_t

    -Fixes issues on nRF54L15 devices (uses CRACEN)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    974d8f2 View commit details
    Browse the repository at this point in the history
  171. quarantine_zephyr: sample.filesystem.fat_fs.nrf54l15pdk added

    Added this sample scenario to quarantine.
    
    Signed-off-by: Andrzej Puzdrowski <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0278835 View commit details
    Browse the repository at this point in the history
  172. tests: subsys: wifi_credentials_backend_psa: Fix build error

    Fix build error by including missing file mbedtls_config.h.
    
    Signed-off-by: Simen S. Røstad <[email protected]>
    simensrostad authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    237a775 View commit details
    Browse the repository at this point in the history
  173. samples: net: Enable WIFI_NRF70 only for Wi-Fi builds

    Enable WIFI_NRF70 only for Wi-Fi builds
    
    Signed-off-by: Simen S. Røstad <[email protected]>
    simensrostad authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b7288ba View commit details
    Browse the repository at this point in the history
  174. crypto: mutex: set intialized flag

    -Setting the flag was missing
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f0f8bd6 View commit details
    Browse the repository at this point in the history
  175. tf-m: Add PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY_LOADER

    -Added regression trying to fix tfm_hello_Word. This commmit fixes it
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b7d73d4 View commit details
    Browse the repository at this point in the history
  176. tests: benchmarks: peripheral_load: update flash_thread log name

    The flash_thread is using a colliding name when registering with
    the log module LOG_MODULE_REGISTER(flash, LOG_LEVEL_INF). Update
    name to flash_thd to avoid naming collision.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1e199d7 View commit details
    Browse the repository at this point in the history
  177. boards: thingy91x: update to upstream nrf7002 dts model

    Update the nrf7002 in the thingy91x board to match upstream dts
    model. Additionally add COEX model of nrf700x for use with for
    example cpunet.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d6b43fa View commit details
    Browse the repository at this point in the history
  178. samples: cellular: nrf_cloud_multi_service: adapt thingy91x wifi

    Ignore the min heap requirements for Wi-Fi and update the nrf9151/ns
    overlay to properly reference the wifi wlan0 node.
    
    Signed-off-by: Pete Skeggs <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b01323d View commit details
    Browse the repository at this point in the history
  179. samples: net: http_server: ignore min heap warning

    Signal that we knowingly are setting the heap size smaller than
    sum of min heaps.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    edaaa18 View commit details
    Browse the repository at this point in the history
  180. crypto: Widen filter to enable md_ext.c for nRF54H20 devices

    -This enabled md_ext.c for nRF54H20 (CPUAPP/CPURAD) to ensuce
     psa_can_do_hash and psa_can_do_cipher is available
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5685d06 View commit details
    Browse the repository at this point in the history
  181. scripts: quarantine: quarantine net.lib.wifi_credentials_backend_psa

    Quarantine net.lib.wifi_credentials_backend_psa temporarily to be fixed
    after upmerge.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    458c3f2 View commit details
    Browse the repository at this point in the history
  182. samples: wifi: throughput: Reduce static RAM usage

    Static RAM usage is exceeding the `RAM` region at build time. Decrease
    the number of RX buffers to fix this.
    
    Signed-off-by: Ravi Dondaputi <[email protected]>
    rado17 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    50102ae View commit details
    Browse the repository at this point in the history
  183. quarantine: Update quarantine

    New failures from upmerge
    
    Signed-off-by: Maciej Perkowski <[email protected]>
    PerMac authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3c19d55 View commit details
    Browse the repository at this point in the history
  184. crypto: Allow for MBEDTLS_FORCE_LEGACY_MD/_CIPHER

    -This adds Kconfis that can be used to signal that legacy MD/CIPHER
     functionality must be used even though MBEDTLS_PSA_CRYPTO_CLIENT is
     set. This is done to allow TF-M miminmal configuration to work
     (as it doesn't enable anything other than RNG). The real solution
     is to port to use PSA crypto APIs, so these configurations can be
     removed
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a046018 View commit details
    Browse the repository at this point in the history
  185. bluetooth: rpc: include Kconfig for logging from Zephyr Bluetooth stack

    The Bluetooth RPC Kconfig now includes the Kconfig file used to declare
    all logging configurations in the Zephyr Bluetooth stack.
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    59f5b1f View commit details
    Browse the repository at this point in the history
  186. bluetooth: rpc: add nrf53 cpunet enable code

    Added the code for enabling nRF53 network core in the Bluetooth
    RPC configuration. The change is required as the newly introduced
    Kconfig - CONFIG_SOC_NRF53_CPUNET_ENABLE - for enabling the network
    core at the SoC level cannot be enabled in projects that use the
    CONFIG_BT Kconfig.
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f136b54 View commit details
    Browse the repository at this point in the history
  187. applications: asset_tracker_v2: Reduce flash usage in LwM2M build

    Reduce the flash usage by setting log mode to minimal so that
    the applications fits in its flash partition.
    
    Signed-off-by: Jan Tore Guggedal <[email protected]>
    jtguggedal authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8d28b0f View commit details
    Browse the repository at this point in the history
  188. drivers: serial: nrf_sw_lpuart: select RING_BUFFER

    Select RING_BUFFER dependency in Kconfig if NRF_SW_LPUART is enabled.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    648311a View commit details
    Browse the repository at this point in the history
  189. samples: matter: Provide workaround for Matter Wi-Fi builds

    The WIFI_NRF70 config is not set automatically, so we need to set
    it manually for sysbuild in case of selecting a proper network
    core functionality.
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    ArekBalysNordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f2456da View commit details
    Browse the repository at this point in the history
  190. bluetooth: rpc: Align with the new Zephyr Bluetooth GATT API

    - The write struct member has been removed in bt_gatt_subscribe_params.
      Replace it by another struct member 'subscribe'.
    - Updates the Bluetooth RPC implementation to align with the new
      Zephyr Bluetooth GATT subscribe API.
    
    Ref: NCSDK-29384
    
    Signed-off-by: Lang Xie <[email protected]>
    Signed-off-by: Marcin Jelinski <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fa45d5e View commit details
    Browse the repository at this point in the history
  191. treewide: nrf53: replace deprecated CONFIG_BOARD_ENABLE_CPUNET Kconfig

    Replaced the deprecated CONFIG_BOARD_ENABLE_CPUNET Kconfig option with
    the CONFIG_SOC_NRF53_CPUNET_ENABLE Kconfig option that configures the
    application core to boot up the network core. This change is applied
    accross all projects in the sdk-nrf repository.
    
    Ref: NCSDK-29186
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    kapi-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2f932df View commit details
    Browse the repository at this point in the history
  192. nrf: Replace deprecated numeric POSIX configs

    Numeric POSIX configs were deprecated in a way that the
    old configurations are no longer taken into account.
    Replace following options in nrf:
    
    - CONFIG_POSIX_MAX_FDS     -> CONFIG_ZVFS_OPEN_MAX and
    			      CONFIG_POSIX_OPEN_MAX (read-only).
    - CONFIG_EVENTFD_MAX       -> CONFIG_ZVFS_EVENTFD_MAX
    - CONFIG_MAX_PTHREAD_COUNT -> CONFIG_POSIX_THREAD_THREADS_MAX
    
    Signed-off-by: Markus Lassila <[email protected]>
    MarkusLassila authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b6f1037 View commit details
    Browse the repository at this point in the history
  193. applications: Fixed bt providers in Matter bridge application

    The BT API changed and write member of bt_gatt_subscribe_params
    struct was removed. This was not used in bridge anyway, so it
    was only required to remove nullptr assignment.
    
    Signed-off-by: Kamil Kasperczyk <[email protected]>
    kkasperczyk-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2d462d5 View commit details
    Browse the repository at this point in the history
  194. modules: tfm: Fix configuration for builtin keys

    The builtin keys are used in different ways for the
    nRF54L15 and the nRF9160 and nRF5340 devices.
    
    The L15 devices don't use the default TFM builtin key
    loader but they implement their own function to load
    the builtin keys.
    
    The configuration MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS is
    necessary for all the platforms though sinc the PSA
    core will not include basic builtin key functionality
    without it.
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cd25037 View commit details
    Browse the repository at this point in the history
  195. samples: cellular: modem_shell: Add legacy mbed TLS for full mfw fota

    Adding legacy mbed TLS crypto APIs that are still used in
    full modem FOTA.
    
    Signed-off-by: Tommi Rantanen <[email protected]>
    trantanen authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    55b3885 View commit details
    Browse the repository at this point in the history
  196. applications: Fixed missing return in method returning non-void

    In the Matter bridge application there is missing return
    statement in UpdateState method that should return CHIP_ERROR.
    
    Signed-off-by: Kamil Kasperczyk <[email protected]>
    kkasperczyk-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8b7e901 View commit details
    Browse the repository at this point in the history
  197. applications: Increased BT_BUF_ACL_RX_COUNT for Matter bridge

    The new static assert that checks if
    CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN was added
    in BT subsys. Because of that it is required to increase
    ACL rx count for various .conf files that modify BT_MAX_CONN.
    
    Signed-off-by: Kamil Kasperczyk <[email protected]>
    kkasperczyk-no authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    602f468 View commit details
    Browse the repository at this point in the history
  198. net: lib: lwm2m_client_utils: Add storage for location resources

    Our location libraries so often use optional resources from
    LwM2M Location Object that it makes sense to add storage for
    those every time the object is build in.
    
    Signed-off-by: Seppo Takalo <[email protected]>
    SeppoTakalo authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5614140 View commit details
    Browse the repository at this point in the history
  199. applications: Fix Matter Bridge nRF54H20 build.

    - Added to quarantine nRF54H20 WiFi build since nRF7002EB is not
    available yet.
    
    - Added PSA_SSF_CLIENT to the nRF54H20 Matter Bridge.
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    ArekBalysNordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    af80d36 View commit details
    Browse the repository at this point in the history
  200. applications: nrf_desktop: Optimize SW Split LL for size

    Change switches to using size optimizations for SW Split Bluetooth Link
    Layer to reduce memory consumption.
    
    Jira: NCSDK-29186
    
    Signed-off-by: Marek Pieta <[email protected]>
    MarekPieta authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6c1fbbd View commit details
    Browse the repository at this point in the history
  201. samples: openthread: Set the ZVFS_OPEN_MAX to the proper value.

    We need to set CONFIG_ZVFS_OPEN_MAX to 9 to support
    NET_SOCKETS_POLL_MAX=9
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    ArekBalysNordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2ace65e View commit details
    Browse the repository at this point in the history
  202. samples: Align with changed AF_PACKET proto format

    Zephyr AF_PACKET sockets now expect the protocol to be provided in
    network byte order (see upstream commit
    99693bee5f2762f84b78ed90740753cdec40f394), so apply this change
    globally.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8e746e2 View commit details
    Browse the repository at this point in the history
  203. nrf_security: Enable builtin keys for nRF54L

    Enable MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS for the nRF54L15
    since it is always required in order to use the HUKs.
    
    This is relevant to the non-TFM target of L15.
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    bb559de View commit details
    Browse the repository at this point in the history
  204. nrf_security: Cracen PSA, allow no alg import key

    Allow to import a ECC public key even when the algorithm is
    not set. This is allowed in the other drivers and we observed
    that some TLS tests don't set the algorithm.
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2b813d9 View commit details
    Browse the repository at this point in the history
  205. scripts: quarantine: quarantine Matter samples

    Quarantined Matter samples due to RAM/FLASH overflow.
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    ArekBalysNordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b90338b View commit details
    Browse the repository at this point in the history
  206. tests: benchmarks: current_consumption: system_off: update path

    Update path to target sources from boards/nrf -> boards/nordic
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    948ebee View commit details
    Browse the repository at this point in the history
  207. applications: serial_lte_modem: Legacy crypto for full mfw fota

    Enable legacy Mbed TLS crypto for full modem FOTA.
    
    Signed-off-by: Markus Lassila <[email protected]>
    MarkusLassila authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6250b0d View commit details
    Browse the repository at this point in the history
  208. samples: wifi: shell: Reduce static RAM usage

    Static RAM usage is exceeding the `RAM` region at build time. Decrease
    the number of TX buffers to fix this.
    
    Signed-off-by: Ravi Dondaputi <[email protected]>
    rado17 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    39db169 View commit details
    Browse the repository at this point in the history
  209. quarantine: update for zigbee weather station build failures

    quarantine updated
    
    Signed-off-by: Maciej Perkowski <[email protected]>
    PerMac authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    93cca3b View commit details
    Browse the repository at this point in the history
  210. doc: tfm: update to 2.1.0

    When building for 2.1.0, there seems to be a missing reference from
    TF-M-Extras. Add a filter for it.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0ae9b38 View commit details
    Browse the repository at this point in the history
  211. doc: nrfxlib: enable zephyr domain

    So that Zephyr samples can be referenced.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    25d1206 View commit details
    Browse the repository at this point in the history
  212. mcuboot/Kconfig: disable IMG_GRP_HASH & MG_GPR_SLOT_INFO

    Disabled additional serial recovery commands which allow to decrease
    the default MCUboot's footprint size:
    CONFIG_BOOT_SERIAL_IMG_GRP_HASH=n
    CONFIG_BOOT_SERIAL_IMG_GRP_SLOT_INFO=n
    
    Signed-off-by: Andrzej Puzdrowski <[email protected]>
    nvlsianpu authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ab31e6f View commit details
    Browse the repository at this point in the history
  213. nrf_security: Rename nrf_security generated path

    With a more relevant name
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    680b058 View commit details
    Browse the repository at this point in the history
  214. workflows: compliance: disable ClangFormat

    Disable ClangFormat compliance check
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    33dd947 View commit details
    Browse the repository at this point in the history
  215. nrf_security: Add missing PSA_WANT algorithms

    These will be moved later to the Zephyr file:
    modules/mbedtls/Kconfig.psa.nordic
    
    Placing them here now to minimize the changes
    in the upmerge Zephyr PR.
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ce35054 View commit details
    Browse the repository at this point in the history
  216. kconfig: openthread: Disable OpenThread Libraries

    Disable OT libraries due to crypto config misalignment.
    
    Signed-off-by: Maciej Baczmanski <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b0efdaa View commit details
    Browse the repository at this point in the history
  217. nrf_security: Minor compliance fixes

    No funtional change here, just fixes spacing
    issues causing compliance failures in
    nrf_security and TFM.
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5bba21e View commit details
    Browse the repository at this point in the history