Hi Michał, I am applying patches 1-3 of this patch set. The 4th (removal of redundent crypto routines) is problematic for Unit Testing, where we want to be able to show the discrete steps of packet assembly and disection. You are welcome to submit a follow-up to patch 4 if you like, that will work with the Unit Test code. On Mon, 2019-08-19 at 11:33 +0200, Michał Lowas-Rzechonek wrote: > This patch-set is a cleanup of redundant and/or unused parts of > mesh/crypto, making both the usage and the implementation a bit > more consistent. > > Michał Lowas-Rzechonek (4): > mesh: Remove unused defines > mesh: Normalize Access Key AID and Index naming in models > mesh: Align appkey_packet_decrypt with dev and virt variants. > mesh: Remove redundant code from mesh/crypto > > mesh/appkey.c | 111 +++---------- > mesh/appkey.h | 10 +- > mesh/crypto.c | 434 ++++++++++++++++---------------------------------- > mesh/crypto.h | 48 +----- > mesh/model.c | 84 ++++++++-- > 5 files changed, 234 insertions(+), 453 deletions(-) >