Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:curve25519

Proto:static inline bool __must_check curve25519(u8 mypublic[CURVE25519_KEY_SIZE], const u8 secret[CURVE25519_KEY_SIZE], const u8 basepoint[CURVE25519_KEY_SIZE])

Type:bool

Parameter:

TypeParameterName
u8mypublic
const u8secret
const u8basepoint
36  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_CRYPTO_ARCH_HAVE_LIB_CURVE25519) Then curve25519_arch(mypublic, secret, basepoint)
38  Else curve25519_generic(mypublic, secret, basepoint)
40  Return 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.