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:Calculate the boot aggregate hash
Proto:static int __init ima_calc_boot_aggregate_tfm(char *digest, struct crypto_shash *tfm)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | digest | |
| struct crypto_shash * | tfm |
| 663 | struct tpm_digest d = {alg_id = TPM_ALG_SHA1, digest = {0}} |
| 666 | SHASH_DESC_ON_STACK(shash, tfm) |
| 676 | ima_pcrread(i, & d) |
| 682 | Return rc |
| Name | Describe |
|---|---|
| ima_calc_boot_aggregate |
| 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 |