mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
btstack_crypto: fix compile error for HAVE_AES128. Fix suggested by Venkat Subbiah <vsubbiah@packetp.com>
This commit is contained in:
parent
881a49d59a
commit
7909a4147e
@ -570,7 +570,7 @@ static void btstack_crypto_run(void){
|
||||
btstack_crypto_aes128 = (btstack_crypto_aes128_t *) btstack_crypto;
|
||||
#ifdef USE_BTSTACK_AES128
|
||||
btstack_aes128_calc(btstack_crypto_aes128->key, btstack_crypto_aes128->plaintext, btstack_crypto_aes128->ciphertext);
|
||||
btstack_crypto_done();
|
||||
btstack_crypto_done(btstack_crypto);
|
||||
#else
|
||||
btstack_crypto_aes128_start(btstack_crypto_aes128->key, btstack_crypto_aes128->plaintext);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user