| Function report | 
| Source Code: security\keys\dh.c | Create Date:2022-07-28 18:27:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kdf_alloc
Proto:static int kdf_alloc(struct kdf_sdesc **sdesc_ret, char *hashname)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kdf_sdesc ** | sdesc_ret | |
| char * | hashname | 
| 95 | tfm = crypto_alloc_shash(hashname, 0, 0) | 
| 107 | sdesc = Allocation memory | 
| 108 | If Not sdesc Then Go to out_free_tfm | 
| 114 | Return 0 | 
| 116 | out_free_tfm : | 
| 118 | Return err | 
| Name | Describe | 
|---|---|
| __keyctl_dh_compute | 
| 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 |