Milan Broz
73030aa5fb
Make block size size_t type.
...
And fix all related comparisons and functions.
2017-06-08 14:39:54 +02:00
Milan Broz
425e8b9495
Fix possible divide by zero in verity hash blocks calculation.
2017-04-05 14:35:52 +02:00
Milan Broz
fc0bef732b
Add FEC offset parameter for verity.
2017-04-03 12:34:50 +02:00
Milan Broz
00419c6c41
Introduce function to calculate verity hash device size.
2017-04-03 10:19:29 +02:00
Milan Broz
98368c4770
Update copyright years.
2017-03-12 13:17:15 +01:00
Mikulas Patocka
4f990d5a74
dm-verity: Fix a boundary condition that caused failure for certain device sizes
...
On Fri, 28 Jun 2013, Mikulas Patocka wrote:
Fix a boundary condition that caused failure for certain device sizes
The problem is reported at
http://code.google.com/p/cryptsetup/issues/detail?id=160
This is the userspace fix.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com
2013-06-28 17:05:45 +02:00
Milan Broz
7eccb7ff50
Change License for sub-libraries from GPLv2 only to LGPLv2.1+ ("or any later")
...
This includes crypto, loopaes, tcrypt handling code I have written myself
and verity code written originally by Mikulas Patocka and modified by me,
copyright by Red Hat.
Other part of library have to stay GPLv2+ only for now
(no agreement from all authors).
2012-12-29 11:47:28 +01:00
Milan Broz
89e09afdf6
Fix some problems found by Coverity static analysis.
2012-09-19 13:58:00 +02:00
Milan Broz
65f975655c
New device access backend.
...
Allocate loop device late (only when real block device needed).
Rework underlying device/file access functions.
Move all device (and ioctl) access to utils_device.c.
Allows using file where appropriate without allocation loop device.
2012-08-12 22:00:17 +02:00
Milan Broz
e129bffce9
Remove redundant condition in overflow test.
2012-06-18 17:12:41 +02:00
Milan Broz
62f334cfa5
Check various number limits.
2012-06-11 00:09:15 +02:00
Milan Broz
6d2c15ea79
Avoid some clang warnings.
2012-06-10 19:55:43 +02:00
Milan Broz
4b8f91d0d9
Remove some compilation warnings.
2012-06-10 18:56:04 +02:00
Milan Broz
de9393879e
Add more verity debug messages.
2012-06-10 12:58:18 +02:00
Milan Broz
db51a343de
Move defines from header.
2012-06-09 23:26:45 +02:00
Milan Broz
697c6c9324
Prepare new superblock format.
2012-06-09 22:02:06 +02:00
Milan Broz
f4101d0f8b
Use action names in veritysetup (similar to cryptsetup).
2012-06-08 21:51:58 +02:00
Milan Broz
cd8826618d
Warn if block exceeds page size.
2012-06-07 15:09:58 +02:00
Milan Broz
ab0f7346bc
Fix some strings, fix sb_offset.
2012-06-07 14:51:42 +02:00
Milan Broz
9fb8b816c5
Change int types.
2012-06-07 14:29:43 +02:00
Milan Broz
4b0b82adc5
Rewrite veritysetup to use libcryptsetup.
2012-06-07 00:18:49 +02:00