You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The secp256r1 program processes an instruction. The first `u8` is a count of the number of signatures to check, followed by a single byte padding. After that, the following struct is serialized, one for each signature to check:
181
+
182
+
```rust
183
+
structSecp256r1SignatureOffsets {
184
+
signature_offset:u16, // offset to compact secp256r1 signature of 64 bytes
185
+
signature_instruction_index:u16, // instruction index to find signature
186
+
public_key_offset:u16, // offset to compressed public key of 33 bytes
187
+
public_key_instruction_index:u16, // instruction index to find public key
188
+
message_data_offset:u16, // offset to start of message data
189
+
message_data_size:u16, // size of message data
190
+
message_instruction_index:u16, // index of instruction data to get message data
0 commit comments