Datasheet

Table Of Contents
P the modulus filled (pointed by {nu1ModBase,u2ModLength + 4})
The workspace not initialized (pointed by {nu1WorkSpace, 8*u2ModLength + 44}
The a and b parameters relative to the elliptic curve (pointed by {nu1ABBase,2*u2ModLength + 8})
K the scalar number (pointed by {nu1ScalarNumber,u2ScalarLength + 4})
The resulting C point is represented in projective coordinates (X,Y,Z) and is stored at the very same place
than the input point A. This point can be the Infinite Point.
The service name for this operation is GF2NEccMulFast. This service uses Fast mode and Fast Modular
Reduction for computation.
Important:  Before using this service, ensure that the constant Cns has been calculated with
the setup of the Fast Modular Reductions service.
43.3.7.4.4 Parameters Definition
Table 43-98. GF2NEccMulFast Service Parameters
Parameter Type Direction Location Data Length Before
Executing the
Service
After
Executing the
Service
nu1ModBase nu1 I Crypto
RAM
u2ModLength + 4 Base of modulus
P
Base of
modulus P
nu1CnsBase nu1 I Crypto
RAM
u2ModLength + 12 Base of Cns Base of Cns
u2ModLength u2 I Length of
modulus P
Length of
modulus P
nu1KBase nu1 I Crypto
RAM
u2KLength Scalar number
used to multiply
the point A
Unchanged
u2KLength u2 I Length of scalar
K
Length of scalar
K
nu1PointBase nu1 I/O Crypto
RAM
3*u2ModLength
+ 12
Input point A
(projective
coordinates)
Resulting point
C (projective
coordinates)
nu1ABase nu1 I Crypto
RAM
2*u2ModLength
+ 8
Parameters a and
b of the elliptic
curve
Unchanged
nu1Workspace nu1 I Crypto
RAM
8*u2ModLength
+ 44
Corrupted
workspace
43.3.7.4.5 Code Example
PUKCL_PARAM PUKCLParam;
PPUKCL_PARAM pvPUKCLParam = &PUKCLParam;
PUKCL (u2Option) = 0;
SAM D5x/E5x Family Data Sheet
Public Key Cryptography Controller (PUKCC)
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1551