ica_x448_key_get
Purpose
Obtain the private and public key values from a given X448 context.
Format
int ica_x448_key_get(ICA_X448_CTX *ctx,
const unsigned char priv[56],
const unsigned char pub[56]);
Required hardware support
The processor must have the MSA9 facility (STFLE bit 155) installed which is available starting with IBM z15® systems.
Parameters
- ICA_X448_CTX *ctx
- Pointer to an X448 context.
- const unsigned char priv[56]
- Buffer receiving the private key of an X448 context.
- const unsigned char pub[56]
- Buffer receiving the public key of an X448 context.
Return codes
- 0
- Success
- -1
- If at least one invalid parameter is given, or if MSA9 is not available, or an internal error occurred when deriving the public from the private key.
For return codes indicating exceptions, see Return codes.