Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline void skcipher_request_set_crypt(struct skcipher_request *req, struct scatterlist *src, struct scatterlist *dst, unsigned int cryptlen, void *iv)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
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