Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\encrypted-keys\encrypted.c Create Date:2022-07-28 18:32:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:aes_get_sizes

Proto:static int aes_get_sizes(void)

Type:int

Parameter:Nothing

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  If IS_ERR(tfm) Then
87  pr_err("encrypted_key: failed to alloc_cipher (%ld)\n", PTR_ERR(tfm))
89  Return PTR_ERR(tfm)
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  Return 0
Caller
NameDescribe
init_encrypted