ica_x25519_key_gen
Purpose
Generates a private and a public key value for a given X25519 context.
Format
int ica_x25519_key_gen(ICA_X25519_CTX *ctx);
Required hardware support
The processor must have the MSA9 facility (STFLE bit 155) installed which is available starting with IBM z15® systems.
Parameters
- ICA_X25519_CTX *ctx
- Pointer to an X25519 context.
Return codes
- 0
- Success
- -1
- If at least one invalid parameter is given or MSA9 is not available.
For return codes indicating exceptions, see Return codes.