2.2.1.2 Cryptographic Parameters
The following 160-bit elliptic curve cryptography (ECC) curve is used in this document.
ECC1
Parameter |
Value |
---|---|
p(modulus) |
0x89abcdef012345672718281831415926141424f7 |
a |
0x37a5abccd277bce87632ff3d4780c009ebe41497 |
b |
0x0dd8dabf725e2f3228e85f1ad78fdedf9328239e |
generator x |
0x8723947fd6a3a1e53510c07dba38daf0109fa120 |
generator y |
0x445744911075522d8c3c5856d4ed7acda379936f |
curve order |
0x89abcdef012345672716b26eec14904428c2a675 |
Prior to encryption, the plaintext (length 1 – 16 bytes) is prepared with the following sequence of operations:
Copy the plaintext into a buffer, "x", comprising five DWORDs.
The fifth DWORD of x is set to zero.
If there is a solution for y in the following equation, x|y is now ready for encryption.
(y^2) mod p = (x^3 + ax + b) mod p
If there is no solution to this equation, increment the fifth DWORD of x and repeat the preceding step.