BPFromBytes
Cryptography
Description
Loads a big-endian byte string into a Brainpool big-integer value
Syntax
Delphi
Function BPFromBytes(Out V: TBPValue; Const Bytes: AnsiString): Boolean;Parameters
| V | Receives the decoded value; zeroed before decoding starts |
|---|---|
| Bytes | 1 to 64 bytes, most significant byte first |
Return values
| True | The bytes were decoded |
|---|---|
| False | The input is empty or longer than 64 bytes; V stays zeroed |
Remarks
Companion of BPToBytes for moving curve coordinates in and out of BPLoadCurve arithmetic