函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rypto_memneq - Compare two areas of memory without leaking* timing information.*@a: One area of memory*@b: Another area of memory*@size: The size of the area.* Returns 0 when data is equal, 1 otherwise.

函数原型:static inline int crypto_memneq(const void *a, const void *b, size_t size)

返回类型:int

参数:

类型参数名称
const void *a
const void *b
size_tsize
258  返回:如果__crypto_memneq(a, b, size)不等于0UL则1否则0
调用者
名称描述
__chacha20poly1305_decrypt
chacha20poly1305_crypt_sg_inplace
datablob_hmac_verifyverify HMAC before decrypting encrypted key
evm_verify_hmacvm_verify_hmac - calculate and compare the HMAC with the EVM xattr* Compute the HMAC on the dentry's protected set of extended attributes* and compare it against the stored security
find_or_insert_direct_keyFind/insert the given key into the fscrypt_direct_keys table. If found, it* is returned with elevated refcount, and 'to_insert' is freed if non-NULL. If* not found, 'to_insert' is inserted and returned if it's non-NULL; otherwise* NULL is returned.
curve25519
curve25519_generate_public