KCAPI_KPP_SSGEN(3) | Programming Interface | KCAPI_KPP_SSGEN(3) |
kcapi_kpp_ssgen - generate a shared secret
int32_t kcapi_kpp_ssgen(struct kcapi_handle * handle, const uint8_t * pubkey, uint32_t pubkeylen, uint8_t * ss, uint32_t sslen, int access);
handle
pubkey
pubkeylen
ss
sslen
access
return number of bytes returned by the shared secret generation operation upon success; a negative errno-style error code if an error occurred
Stephan Mueller <smueller@chronox.de>
November 2020 | libkcapi Manual 1.2.1 |