Commit: 59aae8b1cc5ed0974a2c5a43e16d1862d561fffb
Parent: e45b7a21f9a508ecaf4746bde5b97a4ded53edf0
Author: MichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-04-07 19:52:44
Tree: cf9d6f805149bc4200247edd9e8b8b4c56764b8a

mesh: Remove redundant code from mesh/crypto - Remove application_encrypt/application_decrypt - Make mesh_crypto_privacy_counter private, add mesh_crypto_pecb - Make *_nonce functions private and align their implementation to be more consistent - Refactor network_encrypt/network_decrypt to use *_nonce functions and rename them to packet_encrypt/packet_decrypt - Refactor packet_encode/packet_decode

Diffstat

M mesh/crypto.c | 481 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/crypto.h | 50 ++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/net-keys.c | 2 +-
M unit/test-mesh-crypto.c | 205 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

4 files changed, 291 insertions(+), 447 deletions(-)

View Full Diff | Patch