mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-15 06:26:49 +00:00
component/bt: reduce the size of DRAM
DRAM.data: 506B --> 196B DRAM.bss : 26857B --> 2170B
This commit is contained in:
@@ -866,9 +866,10 @@ void smp_mask_enc_key(UINT8 loc_enc_size, UINT8 *p_data)
|
||||
** Returns void
|
||||
**
|
||||
*******************************************************************************/
|
||||
void smp_xor_128(BT_OCTET16 a, BT_OCTET16 b)
|
||||
void smp_xor_128(BT_OCTET16 a, const BT_OCTET16 b)
|
||||
{
|
||||
UINT8 i, *aa = a, *bb = b;
|
||||
UINT8 i, *aa = a;
|
||||
const UINT8 *bb = b;
|
||||
|
||||
SMP_TRACE_EVENT("smp_xor_128\n");
|
||||
for (i = 0; i < BT_OCTET16_LEN; i++) {
|
||||
|
Reference in New Issue
Block a user