Struct containing the parameters required to compute the shared secret. More...
#include <ECDH.h>
Data Fields | |
const ECCParams_CurveParams * | curve |
const CryptoKey * | myPrivateKey |
const CryptoKey * | theirPublicKey |
CryptoKey * | sharedSecret |
ECDH_KeyMaterialEndianness | keyMaterialEndianness |
Struct containing the parameters required to compute the shared secret.
const ECCParams_CurveParams* ECDH_OperationComputeSharedSecret::curve |
A pointer to the elliptic curve parameters for myPrivateKey. If ECDH_generateKey() was used, this should be the same private key.
const CryptoKey* ECDH_OperationComputeSharedSecret::myPrivateKey |
A pointer to the private ECC key which will be used in to compute the shared secret.
const CryptoKey* ECDH_OperationComputeSharedSecret::theirPublicKey |
A pointer to the public key of the party with whom the shared secret will be generated.
CryptoKey* ECDH_OperationComputeSharedSecret::sharedSecret |
A pointer to a CryptoKey which has been initialized blank. The shared secret will be placed here. The formatting byte will be filled in by the driver if the keyMaterialEndianness requires it.
ECDH_KeyMaterialEndianness ECDH_OperationComputeSharedSecret::keyMaterialEndianness |
All keyMaterials, including myPrivate, theirPublicKey, and sharedSecret are either in big-endian (default) or little- endian format