Execution Units
MSC8144E Reference Manual, Rev. 3
Freescale Semiconductor
26-29
26.4.1.11.4 MOD_RRMODP: Prime Field (F
p
) Compute Montgomery Converter
Constant for Chinese Remainder Theorem (0x04)
Input:
— N = modulus, a prime number (modulus P or Q of CRT).
— Data Size =
the number of significant bits in N
— Key Size = number of bytes in the modulus product PQ of CRT. (Note: in this
instance, Key Size is not loaded with a value related to E.)
Output: B = R
n
R
p
mod N, where R
p
= 2
Sz’(N)
and R
n
= 2
Sz’(K)
Requirements:
— minimum modulus size = 97 bits
— maximum modulus size = 1023 bits
— minimum key size = 13 bytes
— maximum key size = 256 bytes
— key size > modulus size/8
26.4.1.11.5 EC_FP_AFF_PTMULT: Prime Field Elliptic Curve Scalar Point Multiply
in Affine Coordinates (0x05)
Input:
— N = modulus, an odd number (If an even number is supplied, the EVM—even modulus
error bit in the PKEU Interrupt Status Register is set by the SEC.)
— Data Size =
the number of significant bits in N
— E = scalar multiplier (key)
— Key Size =
the number of significant bytes in E
— [A0, A1] = multiplicand, an input point in affine coordinates
— A2 = 0x1 (a bit string representing field element 1)
— A3 = elliptic curve a parameter
— B0 = elliptic curve b parameter
— B1 = R
2
mod N, computed as described in MOD_R2MODN (0x03)
— B2 = ignored
— B3 = ignored
Output:
— [B1, B2] = E
×
[A0, A1], where
×
denotes elliptic curve scalar point multiplication. B1
and B2 are in affine coordinates.
— B0 = undefined
— B3 = undefined
Requirements:
— minimum modulus size = 97 bits
— maximum modulus size = 512 bits
— Point coordinates A0, A1 and elliptic curve parameters A3, B0 are elements of the
prime field and therefore are less than the modulus N.
Summary of Contents for MSC8144E
Page 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Page 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Page 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Page 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Page 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Page 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Page 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Page 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Page 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Page 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...