Function report |
Source Code:security\integrity\ima\ima_crypto.c |
Create Date:2022-07-28 19:58:31 |
| 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_atfm
Proto:static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo)
Type:struct crypto_ahash
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum hash_algo | algo |
| 167 | tfm = ima_ahash_tfm |
| 170 | If algo < 0 || algo >= HASH_ALGO__LAST Then algo = ima_hash_algo |
| 173 | If algo != ima_hash_algo || Not tfm Then |
| 174 | tfm = crypto_alloc_ahash(hash_algo_name[algo], 0, 0) |
| 176 | If algo == ima_hash_algo Then ima_ahash_tfm = tfm |
| 178 | Else |
| 184 | Return tfm |
| Name | Describe |
|---|---|
| ima_calc_file_ahash | |
| calc_buffer_ahash |
| 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 |