aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-02-11 15:09:46 -0800
committerHaibo Huang <hhb@google.com>2019-02-11 15:09:46 -0800
commit8f58ef0aef2ba99129cad37aff2f8d07b41aece5 (patch)
treee0baab7f6bc1bee081ec19d8207b1f2a6079980b
parentc5762a4d858bc8261ae2780134d40498e4bbb1bb (diff)
parent23a20ab7e8371cc29015d7d5787daa73f2ddd374 (diff)
downloadfsverity-utils-8f58ef0aef2ba99129cad37aff2f8d07b41aece5.tar.gz
Merge commit '23a20ab7e8371cc29015d7d5787daa73f2ddd374' into update
Test: build Change-Id: I18f25ec5f9a5eebdf7e1568f1ac6abd42ce867b3
-rw-r--r--METADATA18
-rw-r--r--crc32c_table.h4
-rw-r--r--scripts/gen_crc32c_table.c4
3 files changed, 13 insertions, 13 deletions
diff --git a/METADATA b/METADATA
index a9d6066..2f19f50 100644
--- a/METADATA
+++ b/METADATA
@@ -1,19 +1,15 @@
name: "fsverity-utils"
-description:
- "This is `fsverity`, a userspace utility for fs-verity. fs-verity is "
- "a Linux kernel feature that does transparent on-demand "
- "integrity/authenticity verification of the contents of read-only "
- "files, using a Merkle tree (hash tree) hidden after the end of the "
- "file. The mechanism is similar to dm-verity, but implemented at the "
- "file level rather than at the block device level. The `fsverity` "
- "utility allows you to set up fs-verity protected files."
-
+description: "This is `fsverity`, a userspace utility for fs-verity. fs-verity is a Linux kernel feature that does transparent on-demand integrity/authenticity verification of the contents of read-only files, using a Merkle tree (hash tree) hidden after the end of the file. The mechanism is similar to dm-verity, but implemented at the file level rather than at the block device level. The `fsverity` utility allows you to set up fs-verity protected files."
third_party {
url {
type: GIT
value: "https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git"
}
- version: "bdebc45b4527d64109723ad5753fa514bac47c9f"
- last_upgrade_date { year: 2018 month: 10 day: 4 }
+ version: "23a20ab7e8371cc29015d7d5787daa73f2ddd374"
license_type: RESTRICTED
+ last_upgrade_date {
+ year: 2019
+ month: 2
+ day: 11
+ }
}
diff --git a/crc32c_table.h b/crc32c_table.h
index 4c3dafb..822c0a6 100644
--- a/crc32c_table.h
+++ b/crc32c_table.h
@@ -4,7 +4,9 @@
* This file was automatically generated by scripts/gen_crc32c_table.c
*/
-static const u32 crc32c_table[] = {
+#include <stdint.h>
+
+static const uint32_t crc32c_table[] = {
0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,
0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,
0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,
diff --git a/scripts/gen_crc32c_table.c b/scripts/gen_crc32c_table.c
index 1c5af88..656a349 100644
--- a/scripts/gen_crc32c_table.c
+++ b/scripts/gen_crc32c_table.c
@@ -47,7 +47,9 @@ int main(void)
printf(" * This file was automatically generated by scripts/gen_crc32c_table.c\n");
printf(" */\n");
printf("\n");
- printf("static const u32 crc32c_table[] = {\n");
+ printf("#include <stdint.h>\n");
+ printf("\n");
+ printf("static const uint32_t crc32c_table[] = {\n");
for (i = 0; i < 64; i++) {
printf("\t");
for (j = 0; j < 4; j++) {