mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-25 15:41:00 +00:00
btstack_crypto: fix warning for btstack_crypto_ecc_p256_set_key which is only usable with software ecc
This commit is contained in:
parent
d5f4cd5b52
commit
e2424d4022
@ -1211,6 +1211,9 @@ void btstack_crypto_ecc_p256_set_key(const uint8_t * public_key, const uint8_t *
|
||||
memcpy(btstack_crypto_ecc_p256_d, private_key, 32);
|
||||
memcpy(btstack_crypto_ecc_p256_public_key, public_key, 64);
|
||||
btstack_crypto_ecc_p256_key_generation_state = ECC_P256_KEY_GENERATION_DONE;
|
||||
#else
|
||||
UNUSED(public_key);
|
||||
UNUSED(private_key);
|
||||
#endif
|
||||
}
|
||||
// Unit testing
|
||||
|
Loading…
x
Reference in New Issue
Block a user