logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kcapi_kpp_keygen - generate a public key

Arguments

handle
           [in] cipher handle

       pubkey
           [out] generated public key

       pubkeylen
           [in] length of key buffer

       access
           [in] kernel access type (KCAPI_ACCESS_HEURISTIC - use internal heuristic for fastest kernel access;
           KCAPI_ACCESS_VMSPLICE - use vmsplice access; KCAPI_ACCESS_SENDMSG - sendmsg access)

Author

StephanMueller <smueller@chronox.de>
           Author.

Description

return number of bytes returned by the key generation operation upon success; a negative errno-style
       error code if an error occurred

Name

       kcapi_kpp_keygen - generate a public key

Synopsis

ssize_tkcapi_kpp_keygen(structkcapi_handle*handle,uint8_t*pubkey,size_tpubkeylen,intaccess);

See Also