Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:crypto_alloc_cipher

Proto:static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, u32 type, u32 mask)

Type:struct crypto_cipher

Parameter:

TypeParameterName
const char *alg_name
u32type
u32mask
789  type &= ~Algorithm masks and types.
790  type |= CRYPTO_ALG_TYPE_CIPHER
791  mask |= Algorithm masks and types.
793  Return DOC: Single Block Cipher API* The single block cipher API is used with the ciphers of type* CRYPTO_ALG_TYPE_CIPHER (listed as type "cipher" in /proc/crypto).* Using the single block cipher API calls, operations with the basic cipher