函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:crypto_cipher_tfm

函数原型:static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm)

返回类型:struct crypto_tfm

参数:

类型参数名称
struct crypto_cipher *tfm
798  返回:base
调用者
名称描述
crypto_free_cipher 归零并释放单块密码处理
crypto_cipher_crt
crypto_cipher_blocksizerypto_cipher_blocksize() - obtain block size for cipher*@tfm: cipher handle* The block size for the single block cipher referenced with the cipher handle* tfm is returned
crypto_cipher_alignmask
crypto_cipher_get_flags
crypto_cipher_set_flags
crypto_cipher_clear_flags
crypto_cipher_setkeyrypto_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.
crypto_cipher_encrypt_onerypto_cipher_encrypt_one() - encrypt one block of plaintext*@tfm: cipher handle*@dst: points to the buffer that will be filled with the ciphertext*@src: buffer holding the plaintext to be encrypted* Invoke the encryption operation of one block
crypto_cipher_decrypt_onerypto_cipher_decrypt_one() - decrypt one block of ciphertext*@tfm: cipher handle*@dst: points to the buffer that will be filled with the plaintext*@src: buffer holding the ciphertext to be decrypted* Invoke the decryption operation of one block
crypto_cipher_alg