Function report |
Source Code:security\apparmor\crypto.c |
Create Date:2022-07-28 19:55:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_calc_hash
Proto:char *aa_calc_hash(void *data, size_t len)
Type:char
Parameter:
Type | Parameter | Name |
---|---|---|
void * | data | |
size_t | len |
31 | char * hash = NULL |
34 | If Not apparmor_tfm Then Return NULL |
37 | hash = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
41 | tfm = apparmor_tfm |
53 | Return hash |
55 | fail : |
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 |