函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\encrypted-keys\encrypted.c Create Date:2022-07-27 20:06:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:aes_get_sizes

函数原型:static int aes_get_sizes(void)

返回类型:int

参数:

85  tfm等于rypto_alloc_skcipher() - allocate symmetric key cipher handle*@alg_name: is the cra_name / name or cra_driver_name / driver name of the* skcipher cipher*@type: specifies the type of the cipher*@mask: specifies the mask for the cipher
86  如果是错误
87  打印错误信息("encrypted_key: failed to alloc_cipher (%ld)\n", 错误)
89  返回:错误
91  ivsize等于rypto_skcipher_ivsize() - obtain IV size*@tfm: cipher handle* The size of the IV for the skcipher referenced by the cipher handle is* returned. This IV size may be zero if the cipher does not need an IV.* Return: IV size in bytes
92  blksize等于rypto_skcipher_blocksize() - obtain block size of cipher*@tfm: cipher handle* The block size for the skcipher referenced with the cipher handle is* returned
93  rypto_free_skcipher() - zeroize and free cipher handle*@tfm: cipher handle to be freed
94  返回:0
调用者
名称描述
init_encrypted