Data Fields
ECJPAKE_OperationRoundTwoGenerateKeys Struct Reference

Struct containing the parameters required to generate the second round keys. More...

#include <ECJPAKE.h>

Collaboration diagram for ECJPAKE_OperationRoundTwoGenerateKeys:
Collaboration graph
[legend]

Data Fields

const ECCParams_CurveParamscurve
 
const CryptoKeymyPrivateKey2
 
const CryptoKeymyPublicKey1
 
const CryptoKeymyPublicKey2
 
const CryptoKeytheirPublicKey1
 
const CryptoKeytheirPublicKey2
 
const CryptoKeypreSharedSecret
 
CryptoKeytheirNewGenerator
 
CryptoKeymyNewGenerator
 
CryptoKeymyCombinedPrivateKey
 
CryptoKeymyCombinedPublicKey
 
CryptoKeymyPrivateV
 
CryptoKeymyPublicV
 

Detailed Description

Struct containing the parameters required to generate the second round keys.

Field Documentation

§ curve

const ECCParams_CurveParams* ECJPAKE_OperationRoundTwoGenerateKeys::curve

A pointer to the elliptic curve parameters used in the operation.

§ myPrivateKey2

const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPrivateKey2

A pointer to a private ECC key. Must be of the same length as other params of the curve used. Generated in round one.

§ myPublicKey1

const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPublicKey1

A pointer to the public key of myPrivateKey1. Generated in round one.

§ myPublicKey2

const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPublicKey2

A pointer to the second public key. Generated in round one.

§ theirPublicKey1

const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::theirPublicKey1

A CryptoKey describing the first public key received from the other party.

§ theirPublicKey2

const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::theirPublicKey2

A CryptoKey describing the second public key received from the other party.

§ preSharedSecret

const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::preSharedSecret

A CryptoKey describing the secret shared between the two parties prior to starting the scheme. This exchange would have happened through some offline commissioning scheme most likely. The driver expects an integer of the same length as the curve parameters of the curve in use as keying material even if the original pre-shared secret is shorter than this length.

§ theirNewGenerator

CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::theirNewGenerator

A blank CryptoKey describing the generator point used by the other party in the second round. After it is computed, the keying material will be written to the location described in the CryptoKey. Formatted as a public key.

§ myNewGenerator

CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myNewGenerator

A blank CryptoKey describing the generator point used by the application in the second round. After it is computed, the keying material will be written to the location described in the CryptoKey. Formatted as a public key.

§ myCombinedPrivateKey

CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myCombinedPrivateKey

A pointer to a public ECC key. Must be of the same length as other params of the curve used. Result of multiplying myCombinedPrivateKey by myNewGenerator.

§ myCombinedPublicKey

CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myCombinedPublicKey

A pointer to a public ECC key. Result of multiplying myCombinedPrivateKey by myNewGenerator.

§ myPrivateV

CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPrivateV

A pointer to a private ECC key used in the only second-round Schnorr ZKP. Must be of the same length as other params of the curve used. The CryptoKey and keying material may be deleted or go out of scope after generating the ZKP.

§ myPublicV

CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPublicV

A pointer to the blank public key of myPrivateV. The keying material will be written to the buffer specified in the CryptoKey. The CryptoKey and keying material may be deleted or go out of scope after generating the hash and sending myPublicV2 to the other party with the rest of the parameters.


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