Using the heap instead of the CONFIG_BT_RX_STACK_SIZE for the ble RX callbacks and jobs ...

Hi 
I am using the nrf52832 with zephyr os 
I am trying to reduce ram usage
Lately We implement pairing (encryption) on our devices therefore we increased the  CONFIG_BT_RX_STACK_SIZE to about 3500 bytes 
to be able to handle the encryption read and write we are saving the encryption keys in an external memory we have in our board using FS method to save and delete (data) 
is there an option to move the flow of the encryption not "the place we save" it to the heap
I mean I want to use the heap as the stack of the ble callbacks if possible ?!!!
Thanks a lot 

Related