![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t nrf_ble_lesc_keypair_generate | ( | void | ) |
#include <nrf_ble_lesc.h>
Generate ECC keypair used for the LESC procedure.
This function generates an ECC key pair, which consists of a private and public key. Keys are generated using ECC and are used to create LESC DH key during authentication procedures.
| NRF_SUCCESS | If the operation was successful. |
| NRF_ERROR_BUSY | If any pending request needs to be processed by nrf_ble_lesc_request_handler. |
| NRF_ERROR_INTERNAL | If psa_generate_key, or psa_export_public_key failed. |