Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\skcipher.h Create Date:2022-07-28 06:47:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline struct skcipher_request *skcipher_request_alloc(struct crypto_skcipher *tfm, gfp_t gfp)

Type:struct skcipher_request

Parameter:

TypeParameterName
struct crypto_skcipher *tfm
gfp_tgfp
500  req = kmalloc(sizeof(structskcipher_request) + rypto_skcipher_reqsize() - obtain size of the request data structure*@tfm: cipher handle* Return: number of bytes, gfp)
503  If Value is more likely to compile time(req) Then skcipher_request_set_tfm() - update cipher handle reference in request*@req: request handle to be modified*@tfm: cipher handle that shall be added to the request handle* Allow the caller to replace the existing skcipher handle in the request
506  Return req
Caller
NameDescribe
init_skcipher_req
fscrypt_crypt_blockEncrypt or decrypt a single filesystem block of file contents
fname_encryptame_encrypt() - encrypt a filename* The output buffer must be at least as large as the input buffer.* Any extra space is filled with NUL padding before encryption.* Return: 0 on success, -errno on failure
fname_decryptame_decrypt() - decrypt a filename* The caller must have allocated sufficient memory for the @oname string.* Return: 0 on success, -errno on failure
derive_key_aesv1 key derivation function