PLSM2BE32ToInt
Cryptography
Description
Loads a 32-byte big-endian AnsiString scalar into the limb record TP LSM2Int used by the SM2 arithmetic core
Syntax
Delphi
Procedure PLSM2BE32ToInt(Const S: AnsiString; Out V: TPLSM2Int);Parameters
| S | Exactly 32 bytes, most significant byte first |
|---|---|
| V | Receives the 256-bit value |
Remarks
Part of the pure-Pascal SM2 suite (GB/T 32918) covering 256-bit prime-field arithmetic, Jacobian point operations and the SM3-based ZA derivation; the recommended sm2p256v1 curve ships as the SM2P256V1 constant and the specification appendix curve as SM2ExampleCurve