函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:crypto_xor

函数原型:static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size)

返回类型:void

参数:

类型参数名称
u8 *dst
const u8 *src
unsigned intsize
152  如果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则
155  d等于dst
156  s等于src
158 size大于0循环
159  d自加异或等于s自加
160  size减等于sizeof(unsignedlong)
162  否则
163  __crypto_xor(dst, dst, src, size)
调用者
名称描述
chacha20poly1305_crypt_sg_inplace