kcapi_kpp_keygen(3)

kcapi_kpp_keygen3

Generate a public key

Usage

ssize_t kcapi_kpp_keygen(struct kcapi_handle * handle, uint8_t * pubkey, size_t pubkeylen, int access);

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)

Overview

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

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

Stephan Mueller <[email protected]>

Author.

From libkcapi-dev 1.4.0-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.