函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rypto_shash_init() - (re)initialize message digest*@desc: operational state handle that is already filled* The call (re-)initializes the message digest referenced by the* operational state handle. Any potentially existing state created by

函数原型:static inline int crypto_shash_init(struct shash_desc *desc)

返回类型:int

参数:

类型参数名称
struct shash_desc *desc
898  tfm等于tfm
900  如果crypto_shash_get_flags(tfm)按位与Transform masks and values (for crt_flags).则返回:负ENOKEY
903  返回:init(desc)
调用者
名称描述
digsig_verifydigsig_verify() - digital signature verification with public key*@keyring: keyring to search key in*@sig: digital signature*@siglen: length of the signature*@data: data*@datalen: length of the data* Returns 0 on success, -EINVAL otherwise
kexec_calculate_store_digests
kdf_ctrImplementation of the KDF in counter mode according to SP800-108 section 5
TSS_rawhmac
TSS_authhmacalculate authorization info fields to send to TPM
TSS_checkhmac1verify the AUTH1_COMMAND (Seal) result from TPM
TSS_checkhmac2verify the AUTH2_COMMAND (unseal) result from TPM
aa_calc_hash
aa_calc_profile_hash
ima_calc_file_hash_tfm
ima_calc_field_array_hash_tfmCalculate the hash of template data
calc_buffer_shash_tfm
ima_calc_boot_aggregate_tfmCalculate the boot aggregate hash
init_desc
fscrypt_hkdf_expandHKDF-Expand (RFC 5869 section 2