Commit: 37bbe30c92a729a4f819fde349443ce07a23cf93
Parent: 45beec16bd26c246eb1378344be7e4a23abd5937
Author: MichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-10-03 23:10:16
Tree: afdd2ba86be3406af21de2c60e03a87da3e6d6d9

mesh: Align appkey_packet_decrypt with dev and virt variants. Move appkey_packet_decrypt to mesh/model, rename it to app_packet_decrypt, make it private and change arguments to be aligned with other decryption functions. Also, simplify the implementation using an inline loop, removing the need of mod_decrypt struct.

Diffstat

M mesh/appkey.c | 111 ++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/appkey.h | 10 +++++- - - - -
M mesh/model.c | 73 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - -

3 files changed, 89 insertions(+), 105 deletions(-)

View Full Diff | Patch