One sets the Int to the value 1. The modulus must already be initialized.
()
| 173 | |
| 174 | // One sets the Int to the value 1. The modulus must already be initialized. |
| 175 | func (i *Int) One() kyber.Scalar { |
| 176 | i.V.SetInt64(1) |
| 177 | return i |
| 178 | } |
| 179 | |
| 180 | // SetInt64 sets the Int to an arbitrary 64-bit "small integer" value. |
| 181 | // The modulus must already be initialized. |