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

lib: Update identity_key and hw_uniq_key libraries to return error codes #11557

Merged
merged 3 commits into from
Jun 23, 2023

Commits on Jun 22, 2023

  1. lib: identity_key: Remove k_panic and return error

    The identity key library until now panicked with k_panic
    in case of error in most of the cases. It is a preferred
    practice to return error codes and let the application
    decide what to do with the error. This updates the functions
    from void to int and adds some extra error codes to cover
    all the cases.
    
    Ref: NCSDK-21839
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    6e26708 View commit details
    Browse the repository at this point in the history
  2. samples: keys: Remove random_hw_unique_key sample

    The functionality of this sample is presented in other
    samples (see hw_unique_key) making it redundant.
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    01f4531 View commit details
    Browse the repository at this point in the history
  3. lib: hw_unique_key: Remove k_panic and return error

    The hardware unique key library until now panicked with k_panic
    in case of error in most of the cases. It is a preferred
    practice to return error codes and let the application
    decide what to do with the error. This updates the functions
    from void to int and adds some extra error codes to cover
    all the cases.
    
    Ref: NCSDK-21839
    
    Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
    Vge0rge committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    c8ccbcc View commit details
    Browse the repository at this point in the history