Function report |
Source Code:fs\crypto\keysetup_v1.c |
Create Date:2022-07-28 20:24:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:v1 key derivation function
Proto:static int derive_key_aes(const u8 *master_key, const u8 nonce[16], u8 *derived_key, unsigned int derived_keysize)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const u8 * | master_key | |
const u8 | nonce | |
u8 * | derived_key | |
unsigned int | derived_keysize |
51 | res = 0 |
52 | struct skcipher_request * req = NULL |
63 | req = skcipher_request_alloc() - allocate request data structure*@tfm: cipher handle to be registered with the request*@gfp: memory allocation flag that is handed to kmalloc by the API call |
64 | If Not req Then |
80 | out : |
83 | Return res |
Name | Describe |
---|---|
setup_v1_file_key_derived | v1 policy, !DIRECT_KEY: derive the file's encryption key |
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 |