Difference between revisions of "Data integrity methods"
Jump to navigation
Jump to search
(create page "Data Integrity Methods") |
m (Add section about mutex programming construct.) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
* ./tee/tf-a/trusted-firmware-a/lib/zlib/crc32.c:1:/* crc32.c -- compute the CRC-32 of a data stream | * ./tee/tf-a/trusted-firmware-a/lib/zlib/crc32.c:1:/* crc32.c -- compute the CRC-32 of a data stream | ||
+ | |||
+ | Zephyr 3.4.0 release also has perhaps a more standard CRC header file: | ||
+ | |||
+ | * https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/sys/crc.h | ||
+ | |||
+ | Worth reviewing as well are these header includes from crc.h as found at the above link: | ||
+ | |||
+ | <pre> | ||
+ | #include <zephyr/types.h> | ||
+ | #include <stdbool.h> | ||
+ | #include <stddef.h> | ||
+ | |||
+ | #include <zephyr/sys/__assert.h> | ||
+ | </pre> | ||
<!-- odne komentar --> | <!-- odne komentar --> | ||
+ | |||
+ | == Mutex Construct == | ||
+ | |||
+ | Mutual exclusion a.k.a. "mutex" construct . . . | ||
+ | |||
+ | * https://en.cppreference.com/w/cpp/thread/mutex/unlock |
Latest revision as of 13:21, 4 July 2025
Data integrity Methods
started 2024-02-08
There are many references to cyclic redundancy checks in Zephyr 3.4.0 `modules` repo collection. Visit and check out this one . . .
- ./tee/tf-a/trusted-firmware-a/lib/zlib/crc32.c:1:/* crc32.c -- compute the CRC-32 of a data stream
Zephyr 3.4.0 release also has perhaps a more standard CRC header file:
Worth reviewing as well are these header includes from crc.h as found at the above link:
#include <zephyr/types.h> #include <stdbool.h> #include <stddef.h> #include <zephyr/sys/__assert.h>
Mutex Construct
Mutual exclusion a.k.a. "mutex" construct . . .