Bluetooth: SMP: Reduce stack usage when generating ECDH keys
Only 8 random uint32_t digits are required by ecc_make_key function. Change-Id: Ib0b4d6923b339828281e13b2a1d960d3bb72e65a Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
8171965f75
commit
232e934351
1 changed files with 1 additions and 1 deletions
|
@ -3597,7 +3597,7 @@ static bool le_sc_supported(void)
|
|||
#else
|
||||
static bool le_sc_supported(void)
|
||||
{
|
||||
uint32_t random[16];
|
||||
uint32_t random[8];
|
||||
EccPoint pkey;
|
||||
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue