Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rypto_cipher_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 single block cipher referenced by the* cipher handle.

Proto:static inline int crypto_cipher_setkey(struct crypto_cipher *tfm, const u8 *key, unsigned int keylen)

Type:int

Parameter:

TypeParameterName
struct crypto_cipher *tfm
const u8 *key
unsigned intkeylen
890  Return cit_setkey(crypto_cipher_tfm(tfm), key, keylen)