Function report |
Source Code:fs\verity\verify.c |
Create Date:2022-07-28 20:24:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cmp_hashes
Proto:static inline int cmp_hashes(const struct fsverity_info *vi, const u8 *want_hash, const u8 *real_hash, unsigned long index, int level)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct fsverity_info * | vi | |
const u8 * | want_hash | |
const u8 * | real_hash | |
unsigned long | index | |
int | level |
61 | fsverity_err(inode, "FILE CORRUPTED! index=%lu, level=%d, want_hash=%s:%*phN, real_hash=%s:%*phN", index, level, crypto API name, e.g. sha256 , hsize, want_hash, crypto API name, e.g. sha256 , hsize, real_hash) |
66 | Return -EBADMSG |
Name | Describe |
---|---|
verify_page | Verify a single data page against the file's Merkle tree |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |