| /* |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| */ |
| |
| /* Fixed Data in ROM - Field and Curve parameters */ |
| |
| package NUMS256W |
| |
| // Base Bits= 56 |
| var Modulus= [...]Chunk {0xFFFFFFFFFFFF43,0xFFFFFFFFFFFFFF,0xFFFFFFFFFFFFFF,0xFFFFFFFFFFFFFF,0xFFFFFFFF} |
| var R2modp= [...]Chunk {0x89000000000000,0x8B,0x0,0x0,0x0} |
| const MConst Chunk=0xBD |
| |
| const CURVE_Cof_I int= 1 |
| var CURVE_Cof=[...]Chunk {0x1,0x0,0x0,0x0,0x0} |
| const CURVE_A int= -3 |
| const CURVE_B_I int= 152961 |
| var CURVE_B= [...]Chunk {0x25581,0x0,0x0,0x0,0x0} |
| var CURVE_Order= [...]Chunk {0xAB20294751A825,0x8275EA265C6020,0xFFFFFFFFFFE43C,0xFFFFFFFFFFFFFF,0xFFFFFFFF} |
| var CURVE_Gx= [...]Chunk {0x52EE1EB21AACB1,0x9B0903D4C73ABC,0xA04F42CB098357,0x5AAADB61297A95,0xBC9ED6B6} |
| var CURVE_Gy= [...]Chunk {0xB5B9CB2184DE9F,0xC3D115310FBB80,0xF77E04E035C955,0x3399B6A673448B,0xD08FC0F1} |
| |