ECC Encryption Data Structure Definition
Field Name |
Data Length (Byte) |
Description |
|---|---|---|
x |
ECCref_MAX_LEN |
X component. |
y |
ECCref_MAX_LEN |
Y component. |
M |
32 |
Hash value of the plaintext. |
L |
4 |
Ciphertext data length. |
C |
L |
Ciphertext data. |
Actual data structure definition:
typedef struct ECCCipher_st {
unsigned char x[ECCref_MAX_LEN];
unsigned char y[ECCref_MAX_LEN];
unsigned char M[32];
unsigned int L;
unsigned char C[];
} ECCCipher;
Parent topic: Data Structures