函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rypto_skcipher_setkey() - set key for cipher*@tfm: cipher handle*@key: buffer holding the key*@keylen: length of the key in bytes* The caller provided key is set for the skcipher referenced by the cipher* handle.

函数原型:static inline int crypto_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen)

返回类型:int

参数:

类型参数名称
struct crypto_skcipher *tfm
const u8 *key
unsigned intkeylen
372  返回:setkey(tfm, key, keylen)
调用者
名称描述
init_skcipher_req
fscrypt_allocate_skcipherCreate a symmetric cipher object for the given encryption mode and key
derive_key_aesv1 key derivation function
crypto_sync_skcipher_setkey