Struct containing the parameters required to generate the second round keys. More...
#include <ECJPAKE.h>
Data Fields | |
const ECCParams_CurveParams * | curve |
const CryptoKey * | myPrivateKey2 |
const CryptoKey * | myPublicKey1 |
const CryptoKey * | myPublicKey2 |
const CryptoKey * | theirPublicKey1 |
const CryptoKey * | theirPublicKey2 |
const CryptoKey * | preSharedSecret |
CryptoKey * | theirNewGenerator |
CryptoKey * | myNewGenerator |
CryptoKey * | myCombinedPrivateKey |
CryptoKey * | myCombinedPublicKey |
CryptoKey * | myPrivateV |
CryptoKey * | myPublicV |
Struct containing the parameters required to generate the second round keys.
const ECCParams_CurveParams* ECJPAKE_OperationRoundTwoGenerateKeys::curve |
A pointer to the elliptic curve parameters used in the operation.
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.
const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPublicKey1 |
A pointer to the public key of myPrivateKey1. Generated in round one.
const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPublicKey2 |
A pointer to the second public key. Generated in round one.
const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::theirPublicKey1 |
A pointer to a CryptoKey describing the first public key received from the other party.
const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::theirPublicKey2 |
A pointer to a CryptoKey describing the second public key received from the other party.
const CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::preSharedSecret |
A pointer to 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.
CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::theirNewGenerator |
CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myNewGenerator |
CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myCombinedPrivateKey |
A pointer to a blank private ECC key. Must be of the same length as other params of the curve used. Result of multiplying myPrivateKey2
by preSharedSecret
.
CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myCombinedPublicKey |
A pointer to a blank public ECC key. Result of multiplying myCombinedPrivateKey
by myNewGenerator
.
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.
CryptoKey* ECJPAKE_OperationRoundTwoGenerateKeys::myPublicV |