函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:curve25519

函数原型:static inline bool __must_check curve25519(u8 mypublic[CURVE25519_KEY_SIZE], const u8 secret[CURVE25519_KEY_SIZE], const u8 basepoint[CURVE25519_KEY_SIZE])

返回类型:bool

参数:

类型参数名称
u8mypublic
const u8secret
const u8basepoint
36  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_CRYPTO_ARCH_HAVE_LIB_CURVE25519)则curve25519_arch(mypublic, secret, basepoint)
38  否则curve25519_generic(mypublic, secret, basepoint)
40  返回: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.