函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\skcipher.h Create Date:2022-07-27 07:44:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:skcipher_request_set_crypt() - set data buffers*@req: request handle*@src: source scatter / gather list*@dst: destination scatter / gather list*@cryptlen: number of bytes to process from @src*@iv: IV for the cipher operation which must comply with the IV

函数原型:static inline void skcipher_request_set_crypt(struct skcipher_request *req, struct scatterlist *src, struct scatterlist *dst, unsigned int cryptlen, void *iv)

返回类型:void

参数:

类型参数名称
struct skcipher_request *req
struct scatterlist *src
struct scatterlist *dst
unsigned intcryptlen
void *iv
581  src等于src
582  dst等于dst
583  cryptlen等于cryptlen
584  iv等于iv
调用者
名称描述
derived_key_encryptBefore returning data to userspace, encrypt decrypted data.
derived_key_decrypt
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