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(-) -- 2.19.1