|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Private host credential-snapshot hardening helpers. More...
Go to the source code of this file.
Functions | |
| bool | priv_mdl_host_credential_stat_unchanged (const struct stat *before, const struct stat *after) |
| Compare identity, size, mode, and nanosecond mutation metadata. | |
Private host credential-snapshot hardening helpers.
Exposes only the pure metadata-stability decision so host tests can prove subsecond mutation rejection; no path enters portable policy.
Definition in file mdl_host_credentials_internal.h.
| bool priv_mdl_host_credential_stat_unchanged | ( | const struct stat * | before, |
| const struct stat * | after ) |
Compare identity, size, mode, and nanosecond mutation metadata.
| [in] | before | Metadata captured immediately after opening a regular file. |
| [in] | after | Metadata captured after the exact bounded read and EOF probe. |
before and after are non-NULL. Compares the complete security-relevant snapshots supplied by the caller. Neither input snapshot is modified or retained.
| true | The documented predicate holds or the requested operation completed. |
| false | The predicate does not hold or validation rejected the operation. |
Definition at line 14 of file mdl_host_credentials.c.
References RA8_PRIV.
Referenced by internal_read_credential().