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_PublicKeyDataFormat publicKeyDataFormat
 
ECDH_PublicKeyDataFormat sharedSecretDataFormat
 

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 sharedSecretDataFormat requires it.

§ publicKeyDataFormat

ECDH_PublicKeyDataFormat ECDH_OperationComputeSharedSecret::publicKeyDataFormat

Either standard Octet string type or X-only type public keys

§ sharedSecretDataFormat

ECDH_PublicKeyDataFormat ECDH_OperationComputeSharedSecret::sharedSecretDataFormat

Either standard Octet string type or X-only type public keys


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