ica_x448_key_set
Purpose
Copies the given private and public key values into an X448 context.
Format
int ica_x448_key_set(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 containing the private key for an X448 context to be copied to that context.
- const unsigned char pub[56]
- Buffer containing the public key for an X448 context to be copied to that 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.