| Function report | 
| Source Code: security\integrity\ima\ima_crypto.c | Create Date:2022-07-28 19:58:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ima_alloc_tfm
Proto:static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo)
Type:struct crypto_shash
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| enum hash_algo | algo | 
| 80 | tfm = ima_shash_tfm | 
| 83 | If algo < 0 || algo >= HASH_ALGO__LAST Then algo = ima_hash_algo | 
| 86 | If algo != ima_hash_algo Then | 
| 87 | tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0) | 
| 94 | Return tfm | 
| Name | Describe | 
|---|---|
| ima_calc_file_shash | |
| ima_calc_field_array_hash | |
| calc_buffer_shash | |
| 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 |