PSA error on building WiFi monitor SDK example

When I try to build the SDK example WiFi monitoring it showing error, 

C:/ncs/v2.6.1/nrf/ext/oberon/psa/core/library/check_crypto_config.h:80:2: error: #error "PSA_WANT_ALG_DETERMINISTIC_ECDSA defined, but not all prerequisites"
80 | #error "PSA_WANT_ALG_DETERMINISTIC_ECDSA defined, but not all prerequisites"
| ^~~~~
ninja: build stopped: subcommand failed.

When I commanded below config line, it is compiling fine. 

# WPA supplicant
# CONFIG_WPA_SUPP=y

What would be the issue ? I doubted SKD installation setup, so I unistall and install again but facing same issue. 

Other than this Blinky examples are working fine.
Parents
  • Hi Lavanya_Manohar,

    If you go into the file giving the assert, check_crypto_config.h, you will find there is a check going on:

    #if defined(PSA_WANT_ALG_DETERMINISTIC_ECDSA) && \
        !((defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC) || \
           defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY)) && \
           defined(PSA_WANT_ALG_HMAC))
    #error "PSA_WANT_ALG_DETERMINISTIC_ECDSA defined, but not all prerequisites"
    #endif

    It suggests other configurations that PSA_WANT_ALG_DETERMINISTIC_ECDSA depends on are not enabled. Simply enabling the necessary configurations should fix it.

    CONFIG_WPA_SUPP helps likely because it selects those dependencies.

    Hieu

  • Hi, 
    While build with cpuapp_ns configuration facing this issue.
    Build without ns is copiling and working fine.

Reply Children
Related