Re: [PATCH BlueZ v4 5/5] mesh: Add NVM storage of Replay Protection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Brian,

I have a question about the way RPL is stored.

On Tue, Jan 28, 2020 at 06:32:58PM -0800, Brian Gix wrote:                                          
> Mesh specification requires that Replay Protection be preserved
> across node restarts.  This adds that storage in
> <node_uuid>/rpl/<iv_index>/<src>

Wouldn't it be more convinient to keep both iv_index and sequence in a file like this:
  <node_uuid>/rpl/<src>
?

You could store them in bytes instead of hex string 
and it would eliminate the need for cleaning entries from old IV_index.


Regards,
Rafał Gajda

Silvair



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux