Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:crypto_xor

Proto:static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size)

Type:void

Parameter:

TypeParameterName
u8 *dst
const u8 *src
unsigned intsize
152  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && __builtin_constant_p(size) && size % sizeof(unsignedlong) == 0 Then
155  d = dst
156  s = src
158  When size > 0 cycle
159  d++ ^= s++
160  size -= sizeof(unsignedlong)
162  Else
163  __crypto_xor(dst, dst, src, size)
Caller
NameDescribe
chacha20poly1305_crypt_sg_inplace