int bt_ead_encrypt(const uint8_t session_key[16], const uint8_t iv[8], const uint8_t *payload, size_t payload_size, uint8_t *encrypted_payload)
Encrypt and authenticate the given advertising data.
int bt_ead_decrypt(const uint8_t session_key[16], const uint8_t iv[8], const uint8_t *encrypted_payload, size_t encrypted_payload_size, uint8_t *payload)
Decrypt and authenticate the given encrypted advertising data.