![]() |
TrustCore SDK NanoCrypto API reference
version 7.0
|
Context information for an exercise of the DH protocol. More...
Data Fields | |
vlong * | dh_e |
Received public key of the remote peer. More... | |
vlong * | dh_f |
Public key of the local peer; see DH_setPG(). More... | |
vlong * | dh_g |
Generator value; see DH_getG(). More... | |
vlong * | dh_k |
Shared secret; see DH_computeKeyExchange(). More... | |
vlong * | dh_p |
Large Prime modulus value; see DH_getP(). More... | |
vlong * | dh_py |
vlong * | dh_q |
Prime Divisor value; see DH_setPGQ(). More... | |
vlong * | dh_vf |
vlong * | dh_vi |
vlong * | dh_y |
Private key of the local peer; see DH_setPG(). More... | |
ubyte4 | enabled |
MocAsymKey | pPrivateKey |
MocAsymKey | pPublicKey |
This structure stores context information needed for an exercise of the DH protocol. Most of the members store vlong values. To pre-allocate the memory used for these members, the NanoCrypto DH API functions include a parameter that you can use to specify a vlong memory queue. If you do not specify such a memory queue, the memory for these members is allocated from the heap as needed.
vlong* diffieHellmanContext::dh_e |
Received public key of the remote peer.
vlong* diffieHellmanContext::dh_f |
Public key of the local peer; see DH_setPG().
vlong* diffieHellmanContext::dh_g |
Generator value, see DH_getG().
vlong* diffieHellmanContext::dh_k |
Shared secret; see DH_computeKeyExchange().
vlong* diffieHellmanContext::dh_p |
Large Prime modulus value; see DH_getP().
vlong* diffieHellmanContext::dh_q |
Prime Divisor value; see DH_setPGQ().
vlong* diffieHellmanContext::dh_y |
Private key of the local peer; see DH_setPG().