[PATCH v2] Add an option to dm-verity to validate hashes at most once

2018-03-22 Thread Patrik Torstensson
once as there is no thread protection for the bitset. This patch has been developed and tested on entry-level Android Go devices. Signed-off-by: Patrik Torstensson <to...@google.com> --- Changes since version 1: - added documentation about the new option - added the new

[PATCH v2] Add an option to dm-verity to validate hashes at most once

2018-03-22 Thread Patrik Torstensson
once as there is no thread protection for the bitset. This patch has been developed and tested on entry-level Android Go devices. Signed-off-by: Patrik Torstensson --- Changes since version 1: - added documentation about the new option - added the new option into DM_TABLE_STATUS ioctl

Re: [PATCH] Add an option to dm-verity to validate hashes at most once

2018-03-09 Thread Patrik Torstensson
018 12:14 AM, Patrik Torstensson wrote: > > Add an option to dm-verity to validate hashes at most once > > to allow platforms that is CPU/memory contraint to be > > protected by dm-verity against offline attacks. > > > > The option introduces a bitset that is used

Re: [PATCH] Add an option to dm-verity to validate hashes at most once

2018-03-09 Thread Patrik Torstensson
018 12:14 AM, Patrik Torstensson wrote: > > Add an option to dm-verity to validate hashes at most once > > to allow platforms that is CPU/memory contraint to be > > protected by dm-verity against offline attacks. > > > > The option introduces a bitset that is used

[PATCH] Add an option to dm-verity to validate hashes at most once

2018-03-06 Thread Patrik Torstensson
once as there is no thread protection for the bitset. This patch has been developed and tested on entry-level Android Go devices. Signed-off-by: Patrik Torstensson <to...@google.com> --- drivers/md/dm-verity-target.c | 58 +-- drivers/md/dm-verity.h|

[PATCH] Add an option to dm-verity to validate hashes at most once

2018-03-06 Thread Patrik Torstensson
once as there is no thread protection for the bitset. This patch has been developed and tested on entry-level Android Go devices. Signed-off-by: Patrik Torstensson --- drivers/md/dm-verity-target.c | 58 +-- drivers/md/dm-verity.h| 1 + 2 files changed, 56