函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Replace (f,g) with (g,f) if b == 1;* replace (f,g) with (f,g) if b == 0.* Preconditions: b in {0,1}

函数原型:static noinline void fe_cswap(fe *f, fe *g, unsigned int b)

返回类型:void

参数:

类型参数名称
fe *f
fe *g
unsigned intb
625  b等于0减b
626 i小于10循环
627  x等于v[i]按位异或v[i]
628  x与等于b
629  v[i]异或等于x
630  v[i]异或等于x
调用者
名称描述
curve25519_generic