Developer Reference for Intel® Integrated Performance Primitives Cryptography
Computes a public key.
mbx_status mbx_x25519_public_key_mb8(int8u* const pa_public_key[8], const int8u* const pa_private_key[8]);
crypto_mb/x25519.h
pa_public_key |
Array of pointers to the vectors of computed public key x-coordinates. |
pa_private_key |
Array of pointers to the vectors of private keys. |
This function computes x-coordinates only of pubic keys using private keys specified by pa_private_key parameter. Any 256-bit vector is applicable as a private key. Each vector must be at least 32-byte length to store the computed x-coordinate of the public key.
The mbx_ x25519_public_key function returns the status that indicates whether the operation completed successfully or not. The status value of 0 indicates that all operations completed successfully. The error condition can be analyzed by the MBX_GET_STS() call.