diff options
author | Brian Gix <brian.gix@intel.com> | 2020-01-30 10:59:20 -0800 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-01-30 11:03:47 -0800 |
commit | 243a46b6cac9e329b93df351936f5f65e6132e91 (patch) | |
tree | 133937aaa1b2a681142b54500989b901b59d2f3f /mesh/appkey.h | |
parent | 525d1ec340b23af19b0a3064180e54631c58d29e (diff) | |
download | bluez-243a46b6cac9e329b93df351936f5f65e6132e91.tar.gz |
mesh: Move Replay Protection to mesh/net.c
The specification calls for a flatter Replay Protection List that
applies to all processed messages, regardless of which credentials
were used to secure them. So storage and checking is now centralized
in mesh/net.c
Diffstat (limited to 'mesh/appkey.h')
-rw-r--r-- | mesh/appkey.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesh/appkey.h b/mesh/appkey.h index b3e548071..23b474a0a 100644 --- a/mesh/appkey.h +++ b/mesh/appkey.h @@ -25,9 +25,6 @@ struct mesh_app_key; bool appkey_key_init(struct mesh_net *net, uint16_t net_idx, uint16_t app_idx, uint8_t *key_value, uint8_t *new_key_value); void appkey_key_free(void *data); -bool appkey_msg_in_replay_cache(struct mesh_net *net, uint16_t idx, - uint16_t src, uint16_t crpl, uint32_t seq, - uint32_t iv_index); const uint8_t *appkey_get_key(struct mesh_net *net, uint16_t app_idx, uint8_t *key_id); int appkey_get_key_idx(struct mesh_app_key *app_key, |