btstack_crypto_ecc_p256_calculate_dhkey() function
Calculate Diffie-Hellman Key based on local private key and remote public key
Notes
Bluetooth Core v5.1+ requires the Controller to return an error if the public key is invalid In this case, dhkey will be set to 0xff..ff