Rate This Document
Findability
Accuracy
Completeness
Readability

ECC Encryption Data Structure Definition

Table 1 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;