Function report |
Source Code:security\integrity\ima\ima_crypto.c |
Create Date:2022-07-28 19:58:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ima_calc_buffer_hash
Proto:int ima_calc_buffer_hash(const void *buf, loff_t len, struct ima_digest_data *hash)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | buf | |
| loff_t | len | |
| struct ima_digest_data * | hash |
| 639 | If minimum file size for ahash use && len >= minimum file size for ahash use Then |
| 645 | Return calc_buffer_shash(buf, len, hash) |
| Name | Describe |
|---|---|
| ima_collect_measurement | ma_collect_measurement - collect file measurement* Calculate the file hash, if it doesn't already exist,* storing the measurement and i_version in the iint.* Must be called with iint->mutex held.* Return 0 on success, error code otherwise |
| 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 |