Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:curve25519_generate_secret

Proto:static inline void curve25519_generate_secret(u8 secret[CURVE25519_KEY_SIZE])

Type:void

Parameter:

TypeParameterName
u8secret
67  Calls wait_for_random_bytes() and then calls get_random_bytes(buf, nbytes).* Returns the result of the call to wait_for_random_bytes.
68  curve25519_clamp_secret(secret)