Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static inline int crypto_memneq(const void *a, const void *b, size_t size)

Type:int

Parameter:

TypeParameterName
const void *a
const void *b
size_tsize
258  Return If __crypto_memneq(a, b, size) != 0UL Then 1 Else 0
Caller
NameDescribe
__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.