| 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:calc_buffer_ahash_atfm
Proto:static int calc_buffer_ahash_atfm(const void *buf, loff_t len, struct ima_digest_data *hash, struct crypto_ahash *tfm)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const void * | buf | |
| loff_t | len | |
| struct ima_digest_data * | hash | |
| struct crypto_ahash * | tfm | 
| 538 | ahash_rc = 0 | 
| 546 | crypto_init_wait( & wait) | 
| 547 | ahash_request_set_callback(req, CRYPTO_TFM_REQ_MAY_BACKLOG | CRYPTO_TFM_REQ_MAY_SLEEP, Async ops completion helper functioons, & wait) | 
| 558 | ahash_rc = rypto_ahash_update() - add data to message digest for processing*@req: ahash_request handle that was previously initialized with the* crypto_ahash_init call | 
| 561 | rc = ahash_wait(ahash_rc, & wait) | 
| 562 | If Not rc Then | 
| 566 | out : | 
| 568 | Return rc | 
| Name | Describe | 
|---|---|
| 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 |