Data Fields
ECDH_OperationComputeSharedSecret Struct Reference

Struct containing the parameters required to compute the shared secret. More...

#include <ECDH.h>

Collaboration diagram for ECDH_OperationComputeSharedSecret:
Collaboration graph
[legend]

Data Fields

const ECCParams_CurveParamscurve
 
const CryptoKeymyPrivateKey
 
const CryptoKeytheirPublicKey
 
CryptoKeysharedSecret
 
ECDH_KeyMaterialEndianness keyMaterialEndianness
 

Detailed Description

Struct containing the parameters required to compute the shared secret.

Field Documentation

§ curve

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.

§ myPrivateKey

const CryptoKey* ECDH_OperationComputeSharedSecret::myPrivateKey

A pointer to the private ECC key which will be used in to compute the shared secret.

§ theirPublicKey

const CryptoKey* ECDH_OperationComputeSharedSecret::theirPublicKey

A pointer to the public key of the party with whom the shared secret will be generated.

§ sharedSecret

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.

§ keyMaterialEndianness

ECDH_KeyMaterialEndianness ECDH_OperationComputeSharedSecret::keyMaterialEndianness

All keyMaterials, including myPrivate, theirPublicKey, and sharedSecret are either in big-endian (default) or little- endian format


The documentation for this struct was generated from the following file:
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale