1KCAPI_KPP_KEYGEN(3)          Programming Interface         KCAPI_KPP_KEYGEN(3)
2
3
4

NAME

6       kcapi_kpp_keygen - generate a public key
7

SYNOPSIS

9       int32_t kcapi_kpp_keygen(struct kcapi_handle * handle,
10                                uint8_t * pubkey, uint32_t pubkeylen,
11                                int access);
12

ARGUMENTS

14       handle
15           [in] cipher handle
16
17       pubkey
18           [out] generated public key
19
20       pubkeylen
21           [in] length of key buffer
22
23       access
24           [in] kernel access type (KCAPI_ACCESS_HEURISTIC - use internal
25           heuristic for fastest kernel access; KCAPI_ACCESS_VMSPLICE - use
26           vmsplice access; KCAPI_ACCESS_SENDMSG - sendmsg access)
27

DESCRIPTION

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

AUTHOR

33       Stephan Mueller <smueller@chronox.de>
34           Author.
35
37libkcapi Manual 1.2.1             March 2021               KCAPI_KPP_KEYGEN(3)
Impressum