nrfxlib API 2.8.99
|
uint8_t sdc_hci_cmd_le_encrypt | ( | const sdc_hci_cmd_le_encrypt_t * | p_params, |
sdc_hci_cmd_le_encrypt_return_t * | p_return ) |
#include <softdevice_controller/include/sdc_hci_cmd_le.h>
LE Encrypt.
The description below is extracted from Core_v6.0, Vol 4, Part E, Section 7.8.22
The HCI_LE_Encrypt command is used to request the Controller to encrypt the Plaintext_Data in the command using the Key given in the command and returns the Encrypted_Data to the Host. The AES-128 bit block cypher is defined in NIST Publication FIPS-197 (http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf).
Event(s) generated (unless masked away): When the HCI_LE_Encrypt command has completed, an HCI_Command_Complete event shall be generated.
[in] | p_params | Input parameters. |
[out] | p_return | Extra return parameters. |
0 | if success. |