函数逻辑报告

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_generate_public

函数原型:static inline bool __must_check curve25519_generate_public(u8 pub[CURVE25519_KEY_SIZE], const u8 secret[CURVE25519_KEY_SIZE])

返回类型:bool

参数:

类型参数名称
u8pub
const u8secret
48  如果此条件成立可能性小(为编译器优化)(!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.)则返回:false
52  如果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_base_arch(pub, secret)
54  否则curve25519_generic(pub, secret, curve25519_base_point)
56  返回: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.