Commit: 3c143c7158b956f978158f34803bf05570171861
Parent: a0ced2910a4f7e7c311ab63d5e696fc761d7a4e5
Author: MichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-06-27 20:13:35
Tree: 05c0b50e5aab92ee7d9ae118aea690fcae902698

mesh: Fixed handling of IVI flag in app layer Since IV Index is used in application nonces, we need to honor IVI flag not only in network layer crypto, but also in application layer. This means that if IVI field of incoming packet is different than in current IV Index, try to decode *both* net and app layers using IV Index decreased by one.

Diffstat

M mesh/net-keys.c | 6 - - - - - -
M mesh/net.c | 17 ++++++++- - - - - - - - -

2 files changed, 8 insertions(+), 15 deletions(-)

View Full Diff | Patch