函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\encrypted-keys\encrypted.c Create Date:2022-07-27 20:07:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:calc_hash

函数原型:static int calc_hash(struct crypto_shash *tfm, u8 *digest, const u8 *buf, unsigned int buflen)

返回类型:int

参数:

类型参数名称
struct crypto_shash *tfm
u8 *digest
const u8 *buf
unsigned intbuflen
329  SHASH_DESC_ON_STACK(desc, tfm)
332  tfm等于tfm
334  err等于rypto_shash_digest() - calculate message digest for buffer*@desc: see crypto_shash_final()*@data: see crypto_shash_update()*@len: see crypto_shash_update()*@out: see crypto_shash_final()* This function is a "short-hand" for the function calls of
335  shash_desc_zero(desc)
336  返回:err
调用者
名称描述
calc_hmac
get_derived_keyDerive authentication/encryption key from trusted key